summaryrefslogtreecommitdiff
path: root/Objects/capsule.c
Commit message (Collapse)AuthorAgeFilesLines
* bpo-35436: Add missing PyErr_NoMemory() calls and other minor bug fixes. ↵Zackery Spytz2018-12-071-1/+1
| | | | | (GH-11015) (GH-11020) (cherry picked from commit 4c49da0cb7434c676d70b9ccf38aca82ac0d64a9)
* Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99Alexander Belopolsky2010-08-111-18/+18
| | | | | va_copy, but available on all python platforms. Untabified a few unrelated files.
* Use size_t instead of int for a PyMem_MALLOC argument; silences a gcc ↵Mark Dickinson2009-10-031-1/+1
| | | | 'comparison always false' warning.
* fix useless comparison #6355Benjamin Peterson2009-06-281-1/+1
|
* add a replacement API for PyCObject, PyCapsule #5630Benjamin Peterson2009-05-051-0/+324
All stdlib modules with C-APIs now use this. Patch by Larry Hastings