[gst-devel] Type macros
Torsten Schoenfeld
kaffeetisch at gmx.de
Tue Feb 22 16:06:14 CET 2005
Aloha,
some type macros (notably GST_TYPE_OBJECT and GST_TYPE_ELEMENT) point
directly to the static type variable instead of to the _get_type
function. This means that they will all be 0 until the corresponding
_get_type function is called. I realize that this does happen during
gst_init(), but that might be too late. Some things (like language
bindings) rely on the type macros being valid at all times, even before
gst_init() got called.
So, is there a reason those macros are defined the way they are?
--
Bye,
-Torsten
More information about the gstreamer-devel
mailing list