Functions returning glib::types:Type (aka GType)

Sebastian Dröge sebastian at centricular.com
Mon May 20 15:13:54 UTC 2019


On Mon, 2019-05-20 at 15:41 +0100, Russel Winder wrote:
> Hi,
> 
> Many of the types in the MPEG-TS library have an associated _get_type
> function, for example gst_mpegts_section_get_type. Doing a grep on the
> GStreamer source, I see some usages of these functions and I see declarations
> of the functions, but I do not see any definitions of the functions. Where are
> the definitions of these functions?

From the G_DEFINE_BOXED_TYPE macro, G_DEFINE_TYPE, etc.

-- 
Sebastian Dröge, Centricular Ltd · https://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190520/ed6309fb/attachment.sig>


More information about the gstreamer-devel mailing list