init: add _get_type() functions
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 29 Aug 2011 13:34:30 +0000 (15:34 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 29 Aug 2011 13:34:30 +0000 (15:34 +0200)
commitf3b0d3cdbebf162270356efcfbccffec9ed53eb8
treed6d021348650b1edafbe8b48c76fee52e9c70ab6
parent414559897207789bb492984d08ad1b1242f11fa4
init: add _get_type() functions

Remove gst_mini_object_register() and add a GST_DEFINE_MINI_OBJECT macro to
define a _get_type() function for the boxed miniobject.
Remove a bunch of custom _get_type() functions and replace them with the
miniobject macro.
Rename some _init method to _priv_*_initialize() like the rest of them.

Inspired by patch from Johan Dahlin and see bug #657603
19 files changed:
gst/gst.c
gst/gst_private.h
gst/gstbuffer.c
gst/gstbuffer.h
gst/gstbufferlist.c
gst/gstbufferlist.h
gst/gstcaps.c
gst/gstcaps.h
gst/gstevent.c
gst/gstevent.h
gst/gstmemory.c
gst/gstmemory.h
gst/gstmessage.c
gst/gstmeta.c
gst/gstmeta.h
gst/gstminiobject.c
gst/gstminiobject.h
gst/gstquery.c
win32/common/libgstreamer.def