summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2005-12-13 20:43:04 +0000
committerFredrik Lundh <fredrik@pythonware.com>2005-12-13 20:43:04 +0000
commitf5b4522bda0b15b165f8c3fb07683d010031e0f1 (patch)
tree8ef7bd1c275477e4be6382f1e027e66d0f3ec475 /Include
parentff7f6566253c953f2c1f8e4937376e925d0e563b (diff)
downloadcpython-f5b4522bda0b15b165f8c3fb07683d010031e0f1.tar.gz
renamed dispatch -> capi to match other CAPI implementations
(e.g. cStringIO, ucnhash, etc)
Diffstat (limited to 'Include')
-rw-r--r--Include/pyexpat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/pyexpat.h b/Include/pyexpat.h
index e54b16fbac..d4acb9aa7e 100644
--- a/Include/pyexpat.h
+++ b/Include/pyexpat.h
@@ -3,11 +3,11 @@
/* note: you must import expat.h before importing this module! */
-#define PyExpat_DISPATCH_MAGIC "pyexpat.dispatch 1.0"
+#define PyExpat_CAPI_MAGIC "pyexpat.expat_CAPI 1.0"
-struct PyExpat_Dispatch
+struct PyExpat_CAPI
{
- int size; /* set to sizeof(struct PyExpat_Dispatch) */
+ int size; /* set to sizeof(struct PyExpat_CAPI) */
int MAJOR_VERSION; /* XXX: use the ExpatVersionInfo instead? */
int MINOR_VERSION;
int MICRO_VERSION;