After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 108514 - gst_[typename]_get_type() functions missing for boxed types
gst_[typename]_get_type() functions missing for boxed types
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other other
: Normal normal
: 0.6.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 108132
 
 
Reported: 2003-03-16 13:17 UTC by Martin Schulze
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
props_get_type.diff: Rename gst_props_entry_get_type() -> gst_props_entry_get_props_type() and add gst_props_get_type(), gst_props_entry_get_type() (4.75 KB, patch)
2003-03-16 13:25 UTC, Martin Schulze
none Details | Review
caps_get_type.diff: Add gst_caps_get_type() (1.59 KB, patch)
2003-03-16 13:25 UTC, Martin Schulze
none Details | Review

Description Martin Schulze 2003-03-16 13:17:25 UTC
To support for easy creation of language bindings, things in gstreamer
should be "GTK+-like". E.g. for the c++ language bindings we are using a
semi-automatic wrapper tool from gtkmm (gtkmmproc).

This tool makes assumptions about the GType API of the wrapped structures.
The problem is that all gstreamer boxed types are currently missing the
function gst_[typename]_get_type(). E.g. there is no gst_caps_get_type() or
gst_props_get_type().
Instead, there are macros to access the GType objects which we can't use
without changing gtkmmproc. To match GTK+'s boxed-type-API I suggest adding
the functions gst_caps_get_type(), gst_props_get_type(), etc.

Patches adding these functions will be attached gradually.
Comment 1 Martin Schulze 2003-03-16 13:25:11 UTC
Created attachment 15057 [details] [review]
props_get_type.diff: Rename gst_props_entry_get_type() -> gst_props_entry_get_props_type() and add gst_props_get_type(), gst_props_entry_get_type()
Comment 2 Martin Schulze 2003-03-16 13:25:58 UTC
Created attachment 15058 [details] [review]
caps_get_type.diff: Add gst_caps_get_type()
Comment 3 Christian Fredrik Kalager Schaller 2003-03-16 22:06:35 UTC
Patch applied to head branch