GObject Introspection: array type too unspecific?


g_type_info_get_array_type returns a GIArrayType which only distinguishes "C", ptr, byte and nested arrays. This does not seem to be enough to generate wrappers automatically. The exact array element type needs to be known. (Or doesn't it? I'm using CLISP's FFI that does the wrapping for me, I'm not too familiar with C.)

GTK-3.0.gir does include the full type information but I think I should use the typelibs, if possible.

Your help is appreciated.


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