[Github-comments] [geany/geany] Add support for generating GIR (#1112)

Colomban Wendling notifications at xxxxx
Mon Jul 4 13:01:41 UTC 2016


> It's a bit cryptic, buit these usually indicate that g-ir-scanner doesn't know about a type which is used, e.g. when the typedef isn't provided (either in the same file or via #include or --c-include). In this case ScintillaObject appears to be unknown.

Thanks, that was missing `-DGTK`, fixed now.

However, I also got this one:

```
…scintilla/include/ScintillaWidget.h:42: syntax error, unexpected identifier in ' void (* notify) (ScintillaObject *sci, int id, SCNotification *scn);' at 'SCNotification'
```

I finally found that it's because *ScintillaWidget.h* doesn't include *Scintilla.h* that defines `SCNotification`.  Reordering the parsing order fixes the issue.  But your Peasy has the wrong order, so do you get that issue too?

Also, I dropped
```
SCANNERFLAGS += --program-arg=--introspection-dump=$(srcdir)/get-type.txt,$(builddir)/get-type.out
```
which I didn't get the point of, and that didn't seem necessary.  And your *api/get-type.txt* file lists an internal function `tm_tag_get_type()` so it seemed odd.

---
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/1112#issuecomment-230285396
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160704/8424bb48/attachment.html>


More information about the Github-comments mailing list