mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
Added PyCObject_Import.
This commit is contained in:
parent
43d287ad73
commit
e0e696282f
3 changed files with 44 additions and 18 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue