mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
codegen/argtypes.py: act on the mini object properly, not on the py object
Original commit message from CVS: * codegen/argtypes.py: act on the mini object properly, not on the py object
This commit is contained in:
parent
02193a3552
commit
2d361383fc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* codegen/argtypes.py:
|
||||
act on the mini object properly, not on the py object
|
||||
|
||||
2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/gstbuffer.override:
|
||||
|
|
|
@ -535,7 +535,7 @@ class MiniObjectArg(ArgType):
|
|||
info.add_parselist('O!', ['&Py%s_Type' % self.objname,
|
||||
'&' + pname], [pname])
|
||||
if keeprefcount:
|
||||
info.codebefore.append(' gst_mini_object_ref(GST_MINI_OBJECT(%s));\n' % pname)
|
||||
info.codebefore.append(' gst_mini_object_ref(GST_MINI_OBJECT(%s->obj));\n' % pname)
|
||||
def write_return(self, ptype, ownsreturn, info):
|
||||
if ptype[-1] == '*': ptype = ptype[:-1]
|
||||
info.varlist.add(ptype, '*ret')
|
||||
|
|
Loading…
Reference in a new issue