Explain the seemingly unused LokHookPreInit2 typedef

...which had apparently always been unused since it got introduced in
5de22d1e55 "Handle 'addfont' from Collabora
Online", but is used by e.g.
<https://github.com/CollaboraOnline/online/commit/f98900c73c357af4588dfe95c191b4bf2020ea1e>
"Add a remote font download feature"

Change-Id: I292672d140356e8a0562d383452536924dd3b17b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192090
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Jenkins
This commit is contained in:
Stephan Bergmann
2025-10-10 15:33:02 +02:00
parent b73dd7cc1a
commit ebca26e903
@@ -263,6 +263,7 @@ typedef LibreOfficeKit *(LokHookFunction2)( const char *install_path, const char
typedef int (LokHookPreInit) ( const char *install_path, const char *user_profile_url );
// For client code directly accessing the exported lok_preinit_2 via lok_dlsym:
typedef int (LokHookPreInit2) ( const char *install_path, const char *user_profile_url, LibreOfficeKit** kit);
#if defined(IOS) || defined(ANDROID) || defined(__EMSCRIPTEN__)