[Github-comments] [geany] Gtkdoc hdr (#890)

Thomas Martitz notifications at xxxxx
Thu Feb 11 22:07:57 UTC 2016


Am 11.02.2016 um 20:19 schrieb Colomban Wendling:
>
> Apart all that, looks like it does as advertized. Yet, what's this 
> about this scintilla header? OK, I get it's nice if those are method 
> on ScintillaObject, but the symbols doesn't exist so…?
>
>

Actually, it seems I messed up rebasing. The purpose 
geany-scintilla-gtkdoc.h is to hold ScintillaObject-related stuff. As 
you guessed rightly, it includes actual methods, which are our sci_ 
functions aliased to scintilla_object_ (only with this GIR recognizes 
this as methods).

Now, I didn't include the code/script to generate the scintilla_object_* 
methods out of sci_* in this PR (it's another small python script, and 
uses __attribute__((alias)) as I've failed to find a better solution 
yet). Therefore the scintilla_object_* functions are missing too.

Still, since I eventually plan to fully implement the scintilla_object_* 
stuff and use a separate header for that, the header should already be 
created now and include the ScintillaObject and ScintillaObjectClass 
definitions. I'll update the PR accordingly.

(A separate header in order to generate a separate 
GeanyScintilla-1.0.gir and GeanyScintilla-1.0.typelib. So that you 
import GeanyScintilla without importing Geany)


---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/890#issuecomment-183079815
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160211/d8a829ce/attachment.html>


More information about the Github-comments mailing list