gobject-introspection data is incorrect
Bug #736308 reported by
Pavol Klačanský
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
couchdb-glib |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Hello, when I have used vapi files from launchpad, it works, but if I use gir, it fails
source code
http://
error compiling with command "valac ./database_
http://
Changed in couchdb-glib: | |
status: | Confirmed → Won't Fix |
assignee: | Rodney Dawes (dobey) → nobody |
To post a comment you must log in.
This is because (big) parts of the library are missing annotations, so couchdb_ database_ get_document has introspectable set to 0, which hides it from languages that are using introspection files. With the entire API of both couchdb-glib and desktopcouch-glib being still in flux [1] I'm not sure how good idea would it be to fix current introspection files.
[1] We went over 2 or 3 different APIs over last few months and they all leave much to be desired. It's apparently a hard task to wrap a completely dynamic interface in C in a way that makes library both easy to use from C code, and from higher-level languages.