g-ir-scanner type confusion



I'm trying to generate GObjectIntrospection data for a library I've
created. The library defines, among others, two classes called CmModule
and CmModuleGroup. The gir file created by g-ir-scanner for the library
contains an accurate description of CmModule, but describes
CmModuleGroup as a record instead of a class.

I'm guessing this is because g-ir-scanner has decided that CmModuleGroup
is some sort of structure related to CmModule instead of a GObject-based
class in its own right.

Is this assumption correct? If so, is there an annotation or some other
mechanism to force g-ir-scanner to interpreting CmModuleGroup as a
class?

Matt.




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