commit | e0e696282feea175d82920e0cf13e90bd7a9252e | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Jan 22 20:48:48 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Jan 22 20:48:48 1997 +0000 |
tree | 5212693bae144e7fd978a7be79801d0a248fb37b | |
parent | 43d287ad7383d3194153b6dba96912437fc6ba17 [diff] [blame] |
Added PyCObject_Import.
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 @@ 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