March 2003
Intermediate to advanced
656 pages
39h 30m
English
PyString_AsStringAndSize
int PyString_AsStringAndSize(PyObject*x,char**buffer,int*length)
Puts a pointer to the internal buffer of string
x in
*
buffer, and
x’s length in
*
length. You must not
modify the buffer in any way, unless you just allocated it by calling
PyString_FromStringAndSize(NULL,size
).
Read now
Unlock full access