[Github-comments] [geany/geany] api: new function geany_api_version (#1406)

Colomban Wendling notifications at xxxxx
Thu Feb 23 19:22:50 UTC 2017


@elextr I don't get what point you're tying to make?  Mine was that Geany's C API is basically only made of compile-time things (functions, structure fields, etc.), so there's no point in checking those at runtime: either it built and linked in which case you're all set, or it didn't and this API won't help.
*Maybe* with lazy loading you could build against a newer Geany (so it finds the new symbols at build time) and load against an older one if you guarded the calls so they aren't ever actually reached, but this seems highly fragile to me if at all workable.

-- 
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/pull/1406#issuecomment-282093208
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170223/793a4d22/attachment.html>


More information about the Github-comments mailing list