diff options
Diffstat (limited to 'Include')
-rw-r--r-- | Include/cobject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/cobject.h b/Include/cobject.h index db2ce23..672e029 100644 --- a/Include/cobject.h +++ b/Include/cobject.h @@ -62,6 +62,10 @@ PyCObject_FromVoidPtr Py_PROTO((void *cobj, void (*destruct)(void*))); extern void * PyCObject_AsVoidPtr Py_PROTO((PyObject *)); +/* Import a pointer to a C object from a module using a PyCObject. */ +extern void * +PyCObject_Import Py_PROTO((char *module_name, char *cobject_name)); + #ifdef __cplusplus } #endif |