include/LibreOfficeKit/LibreOfficeKitInit.h |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ebca26e9038d1186978fe02b83fb1aa7473e48b2
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Thu Oct 9 09:40:00 2025 +0200
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Fri Oct 10 15:33:02 2025 +0200

    Explain the seemingly unused LokHookPreInit2 typedef
    
    ...which had apparently always been unused since it got introduced in
    5de22d1e559cd0f1f5fa4e247f0ce153710fbeab "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 <[email protected]>
    Tested-by: Jenkins

diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h 
b/include/LibreOfficeKit/LibreOfficeKitInit.h
index 38f893908619..deefd8184d5f 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -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__)

Reply via email to