Re: avoiding relocations in type registration



Hi Matthias,

On Mon, 2006-04-03 at 13:53 -0400, Matthias Clasen wrote:
> GType
> g_type_register_static_simple (GType             parent_type,
> 			       const gchar      *type_name,
>                                guint16           class_size,
>                                GClassInitFunc    class_init,
>                                guint16           instance_size,
>                                GInstanceInitFunc instance_init,
>                                GTypeFlags        flags);

GStreamer also uses base_init; would you recommend rolling our own
register_static variant?

Regards,
-- 
Andy Wingo
http://wingolog.org/




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