mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
add a replacement API for PyCObject, PyCapsule #5630
All stdlib modules with C-APIs now use this. Patch by Larry Hastings
This commit is contained in:
parent
c679fd8efc
commit
b173f7853e
37 changed files with 943 additions and 149 deletions
|
@ -1,10 +1,8 @@
|
|||
|
||||
/* C objects to be exported from one extension module to another.
|
||||
/*
|
||||
|
||||
C objects are used for communication between extension modules.
|
||||
They provide a way for an extension module to export a C interface
|
||||
to other extension modules, so that extension modules can use the
|
||||
Python import mechanism to link to one another.
|
||||
The CObject module is now *deprecated* as of Python 3.1.
|
||||
Please use the Capsule API instead; see "pycapsule.h".
|
||||
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue