[GI] Get info about return value



Hello all,

I’m trying to generate automatic bindings for gobject-introspected libraries for a compiled language. Now I’m 
the need of generating method signatures, but I couldn’t find a way to get a string representation for return 
and argument types. Once I get the corresponding GITypeInfo I don’t know how to proceed. I would like to get 
a pointer to the GIObjectInfo, GIEnumInfo, … associated to the type, provided that I’ve previously loaded it.

I’m able to get the type tag, but that’s only useful if the type is an interface, or basic types. I’m still 
not able to differentiate between GTypes.

I’ve tried to iterate over the GITypeInfo attributes, but found none.

Could you please provide me with some light here? Thank you very much in advance.

Best regards,
Juan.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]