140
140
raise RuntimeError, "write_return not implemented for %s" % ptype
141
info.codeafter.append(' return pyg_boxed_new (GST_TYPE_CAPS, ret, '+copyval+', TRUE);')
141
info.codeafter.append(' return pyg_boxed_new (GST_TYPE_CAPS, (GstCaps*) ret, '+copyval+', TRUE);')
143
143
class GstIteratorArg(ArgType):
144
144
def write_return(self, ptype, ownsreturn, info):