I contsuct string inside function, how could I return it?
----------
 20     cdef char* close(self):
 21         return ''.join(self._data)
---------

If I copy it to temporary "p" as docs says, it wouldn't help I
suppose, because p will not be referenced by anyone.  The only option
is to return python object?
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to