diff options
author | Johan Dahlin <johan@gnome.org> | 2005-10-07 01:21:57 +0000 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2005-10-07 01:21:57 +0000 |
commit | 7534ba048688b3c58f13ea478c20fb722838ea26 (patch) | |
tree | 91f4768fbe53b5e8777976a74fc190ad737fcaab /gst/gstbin.override | |
parent | 01c009d4b3d1acf15a69bbee66ddbfd1cbe7adda (diff) |
Add GstIterator wrapping and tests.
Original commit message from CVS:
* codegen/argtypes.py:
* gst/Makefile.am:
* gst/common.h:
* gst/gst.defs:
* gst/gstbin.override:
* gst/gstelement.override:
* gst/pygstiterator.c: (pygst_iterator_dealloc),
(pygst_iterator_iter_next), (pygst_iterator_new):
* testsuite/test_iterator.py:
Add GstIterator wrapping and tests.
Diffstat (limited to 'gst/gstbin.override')
-rw-r--r-- | gst/gstbin.override | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gst/gstbin.override b/gst/gstbin.override index d0f6148..8049291 100644 --- a/gst/gstbin.override +++ b/gst/gstbin.override @@ -114,8 +114,6 @@ _wrap_gst_bin_remove_many(PyGObject *self, PyObject *args) return NULL; return _wrap_gst_bin_remove (self, args); } - - %% override gst_bin_get_by_name kwargs static PyObject * @@ -142,3 +140,10 @@ _wrap_gst_bin_get_by_name(PyGObject *self, PyObject *args, PyObject *kwargs) gst_object_unref (el); /* from _get_by_name */ return ret; } +%% +override-slot GstBin.tp_iter +static PyObject * +_wrap_gst_bin_tp_iter(PyGObject *self) +{ + return _wrap_gst_bin_iterate_elements(self); +} |