commit | b173f7853e4e3a4215a661d98174291e379cf6fb | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue May 05 22:31:58 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue May 05 22:31:58 2009 +0000 |
tree | 02735987f20fc27277a82c14c5da5e043cc134aa | |
parent | c679fd8efcae2b5d1117fc09380d74f0000086b0 [diff] [blame] |
add a replacement API for PyCObject, PyCapsule #5630 All stdlib modules with C-APIs now use this. Patch by Larry Hastings
diff --git a/Include/pyexpat.h b/Include/pyexpat.h index 1e79f4e..5340ef5 100644 --- a/Include/pyexpat.h +++ b/Include/pyexpat.h
@@ -4,6 +4,7 @@ /* note: you must import expat.h before importing this module! */ #define PyExpat_CAPI_MAGIC "pyexpat.expat_CAPI 1.0" +#define PyExpat_CAPSULE_NAME "pyexpat.expat_CAPI" struct PyExpat_CAPI {