Can g_field_info_get_offset () provide same info as G_STRUCT_OFFSET?


According to GObjectIntrospection wiki page[1], this is the proper place to ask questions about GI.

I'm wondering if the function g_field_info_get_offset() [2] could provide the same information at compile-time that the G_STRUCT_OFFSET macro [3] provides at run-time? Am I missing something obvious here?


[2] [3]

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