Added PyCObject_Import.

This commit is contained in:
Guido van Rossum 1997-01-22 20:48:48 +00:00
parent 43d287ad73
commit e0e696282f
3 changed files with 44 additions and 18 deletions

View file

@ -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