> yes yes, that's precisely what I was looking for: > > cpdef void *user_param =<PyObject *> data > ...... > data = <object> <PyObject *> user_param > > Thanks for the help
Don't forget the decref/incref stuff ! That's for Python's garbage collector. Otherwise it will not know that the object is being used and you will be in trouble ! [1] Good luck, Nathann [1] And I am afraid that you will have to google that if you want to know more, because that's all I know about it :-P -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
