[Github-comments] [geany/geany-plugins] Question: how to query if a keybinding exists? (#619)

Matthew Brush notifications at xxxxx
Sun Oct 8 08:28:37 UTC 2017


> I meant the library would NOT register itself as a plugin, right?

Correct, it would simply link against `libgeany.so` to gain access to the plugin API.

> How intelligent is the runtime linker? I guess it simply links together every function that is in use. I mean if a plugin would use a function of my library then the function would be linked in even if the plugin is not activated.

When Geany loads a plugin using your library, the library would be loaded by the runtime linker, the same as any other library. For example if Webhelper and Markdown are both linked against the same WebkitGtk version, only one copy of that library would be loaded into the process. If both Webhelper and Markdown plugins are de-activated, the WebKitGtk library would be unloaded, barring the use of certain libdl flags such as `RTLD_NODELETE`, perhaps.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/619#issuecomment-334991356
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20171008/d10f8a7d/attachment.html>


More information about the Github-comments mailing list