Jørgen P. Tjernø wrote: > > It says: > Cannot convert 'playlist *' to Python object Then cast the pointer to a C long (or Py_intptr_t), and create a Python int from that.
cdef playlist *list instance.lists = [ int(<long> list) ] list = <playlist *> (<long> instance.lists[0]) S.M. _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
