GNOME Bugzilla – Bug 628812
[girepository] Add c:type for <array> and <type> tags
Last modified: 2018-02-08 11:58:44 UTC
I don't know if this attribute is compiled into typelib but it can't be queried by any GITypeInfo functions. Needed for java-gnome.
Am I understood right, this attribute already exists in gir XML file but I want it to be accessible from girepository API.
Created attachment 183374 [details] [review] Patch to add c:type attribute into typelib
Is Serkan's patch ok? It would really help us if this were exposed. AfC
I found out that this patch partially does what I need and adds nothing for complex types. Can you help me to improve it?
I need more information; why do you want the c:type in the typelib? What are you doing with it? It's going to make typelibs larger; by how much I'm not sure, but they're already quite large I feel.
I'm planning to use it in Java-GNOME Java bindings for GTK+,GNOME and friends. In Java GNOME we're generating the bindings and function calls at runtime. Please examine g_type_info_to_string in http://bazaar.launchpad.net/~serkan-kaba/java-gnome/gir/view/head:/src/generator/com/operationaldynamics/introspection/GTypeInfo.c#L25 which I made many assumptions to get it working and not perfect. This will reduce it to a one liner or at least make it way simpler than now. Thanks in advance. Serkan
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/35.