Re: Can g_field_info_get_offset () provide same info as G_STRUCT_OFFSET?

2013-11-12 Thread Andrés G. Aragoneses
On 06/11/13 17:19, Jasper St. Pierre wrote: On Wed, Nov 6, 2013 at 10:48 AM, Andrés G. Aragoneses kno...@gmail.com mailto:kno...@gmail.com wrote: On 06/11/13 16:45, Ross Burton wrote: On 6 November 2013 14:45, Andrés G. Aragoneses kno...@gmail.com mailto:kno...@gmail.com

Re: Can g_field_info_get_offset () provide same info as G_STRUCT_OFFSET?

2013-11-06 Thread Jasper St. Pierre
On Wed, Nov 6, 2013 at 9:05 AM, Andrés G. Aragoneses kno...@gmail.comwrote: Hello, 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

Re: Can g_field_info_get_offset () provide same info as G_STRUCT_OFFSET?

2013-11-06 Thread Andrés G. Aragoneses
On 06/11/13 15:39, Jasper St. Pierre wrote: On Wed, Nov 6, 2013 at 9:05 AM, Andrés G. Aragoneses kno...@gmail.com 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

Re: Can g_field_info_get_offset () provide same info as G_STRUCT_OFFSET?

2013-11-06 Thread Ross Burton
On 6 November 2013 14:45, Andrés G. Aragoneses kno...@gmail.com wrote: (unless glib upstream would accept a patch to wrap the G_STRUCT_OFFSET in a public function?). That would be a function for every member of every struct, as G_STRUCT_OFFSET is a macro (sounds unlikely to me). Ross

Re: Can g_field_info_get_offset () provide same info as G_STRUCT_OFFSET?

2013-11-06 Thread Andrés G. Aragoneses
On 06/11/13 16:45, Ross Burton wrote: On 6 November 2013 14:45, Andrés G. Aragoneses kno...@gmail.com mailto:kno...@gmail.com wrote: (unless glib upstream would accept a patch to wrap the G_STRUCT_OFFSET in a public function?). That would be a function for every member of every

Re: Can g_field_info_get_offset () provide same info as G_STRUCT_OFFSET?

2013-11-06 Thread Jasper St. Pierre
On Wed, Nov 6, 2013 at 10:48 AM, Andrés G. Aragoneses kno...@gmail.comwrote: On 06/11/13 16:45, Ross Burton wrote: On 6 November 2013 14:45, Andrés G. Aragoneses kno...@gmail.com mailto:kno...@gmail.com wrote: (unless glib upstream would accept a patch to wrap the G_STRUCT_OFFSET