GNOME Bugzilla – Bug 324398
varargs/valist functions aren't bindable
Last modified: 2006-03-10 16:43:51 UTC
In order to be properly wrapped in bindings, the following functions need to have equivalents that don't take varargs/valist arguments:
gst_tag_setter_add_tags() and _add_tag_*
The easiest would be to have some _list() equivalents that take a GList* instead.
What's going on with this, Hervey?
in fact gst_tag_setter_add_tags() is the same as:
def my_tag_setter_add_tags(tagsetter, mergemode, tags):
taglist = gst.TagList()
for name,value in tags:
taglist[name] = value
I'll add a wrapper for convenience.
I don't really like the GList thing as typechecking it is hard in C. Most GLib functions take (.., gint n_args, type *args); function equivalents.
the formats thing is in CVS now.
controller functions can be implemented with other public functions, see -core/libs/gst/controller/gsthelper.c, closing.