GNOME Bugzilla – Bug 323483
missing API functions
Last modified: 2006-02-13 12:04:57 UTC
GstMiniObject::_ref, _unref, _replace, _copy, _is_writable, _make_writable Exiting macros in subclasses to these methods: GstBuffer::_ref, _unref, _replace, _copy, _is_writable, _make_writable GstEvent::_ref, _unref, _copy GstQuery::_ref, _unref, _copy, _make_writable GstMessage::_ref, _unref, _copy, _make_writable For the GValue stuff: GstMiniObject::_set, _take, _get Macros: GstBuffer::_set, _take, _get GstEvent:: GstQuery:: GstMessage:: Should we be consistent and provide macros for all these methods?
ok, so this is about adding API to provide macros for all of _ref, _unref, _replace, _copy, _is_writable, _make_writable in each of the subclasses. I think that sounds like a dandy idea.
So far noone seems to be missing this API. Is it still worth adding?
the _set/_get/_take methods are used much less often than the refcount-related methods. The point of convenience macros, IMHO, is for features that are used a lot... so I'd be in favour of NOT adding them.
closing, idea is to add API when needed.