diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-13 20:43:04 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2005-12-13 20:43:04 (GMT) |
commit | d7a42881dba311e66f5091cbe0ec7c01f511cc2c (patch) | |
tree | 59595e17da764da7da54068e3f8bce6b10d63f44 /Include | |
parent | c3345040df1adb502f5b62e9b3efc6f4232a952f (diff) | |
download | cpython-d7a42881dba311e66f5091cbe0ec7c01f511cc2c.zip cpython-d7a42881dba311e66f5091cbe0ec7c01f511cc2c.tar.gz cpython-d7a42881dba311e66f5091cbe0ec7c01f511cc2c.tar.bz2 |
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 e54b16f..d4acb9a 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; |