GNOME Bugzilla – Bug 115052
gst_pad_selectv() doesn't follow the va_list convention
Last modified: 2004-12-22 21:47:04 UTC
In most GNOME software (afaict) functions that take variable arguments ("func()") have a corresponding function that takes a va_list, called "funcv()". Most of GStreamer follows this convention. gst_pad_select (GList *padlist) and gst_pad_selectv (GstPad *pad, ...) don't follow this convention. I think we should officially adopt this convention and fix functions that don't follow it.
I agree with this, it's inconsistent. However, we obviously cannot fix this in 0.6.x, no matter how much I'd love to. We probably do want to add a valist function alternative to 0.6.x, too, but this'd have a different name than the valist/vararg functions in HEAD. The list function might be dropped (not sure how badly it's needed specifically), or we might want to rename it to gst_pad_select_list(). Comments? I can provide a patch if wanted.
/me was wrong. Upon perusal of glib, some_functionv() is a function that is just like some_function(), except the last argument is a pointer to a NULL terminated list of a specific type, typically a pointer. some_function_valist() is just like some_function(), except it takes a va_list type as the final argument.
These should all be fixed now, either in HEAD or CAPS.