diff options
author | Neil <nyamatongwe@gmail.com> | 2021-03-16 14:06:42 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-03-16 14:06:42 +1100 |
commit | 3deead646f03e647c8eff2c024efdacfb5e54f37 (patch) | |
tree | a08d7c95c7b4e1764420dea34b30be62fbaad106 /doc/Scintilla5Migration.html | |
parent | b05b84ecca0189c7fb5bdbbc0d18219ce79572b6 (diff) | |
download | scintilla-mirror-3deead646f03e647c8eff2c024efdacfb5e54f37.tar.gz |
Fix dlopen call.
Diffstat (limited to 'doc/Scintilla5Migration.html')
-rw-r--r-- | doc/Scintilla5Migration.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Scintilla5Migration.html b/doc/Scintilla5Migration.html index 97f019e62..3f8b916ee 100644 --- a/doc/Scintilla5Migration.html +++ b/doc/Scintilla5Migration.html @@ -187,7 +187,7 @@ <p>Load Lexilla using the appropriate operating system function: either LoadLibrary on Windows or dlopen on Unix.</p> <code class="windows">HMODULE lexillaLibrary = LoadLibrary(szLexillaPath);<br /></code> - <code class="unix">void *lexillaLibrary = szLexillaPath(libPath, RTLD_LAZY);<br /></code> + <code class="unix">void *lexillaLibrary = dlopen(szLexillaPath, RTLD_LAZY);<br /></code> <p>Find the CreateLexer function inside the shared library using either GetProcAddress on Windows or dlsym on Unix.</p> <code class="windows">FARPROC fun = GetProcAddress(lexillaLibrary, LEXILLA_CREATELEXER);<br /></code> |