Dag Sverre Seljebotn wrote: > Robert Bradshaw wrote: >> On a related note, it's still a bit unclear how these things can be >> passed around and stored. Are they just a Py_buffer + PyObject*? (I'm >> hoping you're thinking they can be passed around and stored with >> ease, with allocation either take care of by the corresponding object >> (which will clean up the memory when it gets collected) or if there >> is no object attached, the user needs to treat it as they would a raw >> pointer).
To really answer this, yes. Reference counting etc., it will just work like any other Python reference from the user's perspective, with the usual caveats of "<object>char_ptr". -- Dag Sverre _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
