diff options
Diffstat (limited to 'SWIG/_lib.h')
-rw-r--r-- | SWIG/_lib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/SWIG/_lib.h b/SWIG/_lib.h index e8a8645..f1973b4 100644 --- a/SWIG/_lib.h +++ b/SWIG/_lib.h @@ -12,6 +12,8 @@ Blob *blob_new(int len, const char *errmsg); Blob *blob_copy(Blob *from, const char *errmsg); void blob_free(Blob *blob); +static int m2_PyObject_AsReadBuffer(PyObject *obj, const void **buffer, + Py_ssize_t *buffer_len); static int m2_PyObject_AsReadBufferInt(PyObject *obj, const void **buffer, int *buffer_len); static int m2_PyString_AsStringAndSizeInt(PyObject *obj, char **s, int *len); |