Re: avoiding relocations in type registration
- From: Behdad Esfahbod <behdad cs toronto edu>
- To: Tim Janik <timj imendio com>
- Cc: Gtk+ Developers <gtk-devel-list gnome org>, Matthias Clasen <mclasen redhat com>
- Subject: Re: avoiding relocations in type registration
- Date: Fri, 21 Apr 2006 06:55:41 -0400 (EDT)
On Fri, 21 Apr 2006, Tim Janik 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);
>
> yeah, considerably even since .text is ro and shared.
> thanks Matthias, can you commit this please? provided
> it's properly tested.
Ok, now that Tim accepted this, can we have a _full version too?
As pointed already, GStreamer users GBaseInitFunc too... Having
a _full version we can in fact depreate use of the struct
version.
> > Matthias
>
> ---
> ciaoTJ
--behdad
http://behdad.org/
"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
-- Dan Bern, "New American Language"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]