GNOME Bugzilla – Bug 765659
Add pointer sized integer field to GValue and use it for GType
Last modified: 2018-05-24 18:52:16 UTC
+++ This bug was initially created as a clone of Bug #758738 +++ See https://bugzilla.gnome.org/show_bug.cgi?id=758738#c40 and following comments
Created attachment 326838 [details] [review] gvalue: Add uintptr field to the union for pointer sized integers
Created attachment 326839 [details] [review] gvalue: Use uintptr field of GValue to store GTypes
I'm not 100% sure if this is the cleanest way though, GType is registered as a pointer type: https://git.gnome.org/browse/glib/tree/gobject/gvaluetypes.c#n1171 So collection from varargs functions for example would go through v_pointer anyway. Should GType be registered as a new fundamental type? Should there be a uintptr fundamental type?
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/1163.