diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-13 20:43:04 +0000 |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-13 20:43:04 +0000 |
commit | f5b4522bda0b15b165f8c3fb07683d010031e0f1 (patch) | |
tree | 8ef7bd1c275477e4be6382f1e027e66d0f3ec475 /Include | |
parent | ff7f6566253c953f2c1f8e4937376e925d0e563b (diff) | |
download | cpython-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.h | 6 |
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; |