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 | d7a42881dba311e66f5091cbe0ec7c01f511cc2c (patch) | |
| tree | 59595e17da764da7da54068e3f8bce6b10d63f44 /Include/pyexpat.h | |
| parent | c3345040df1adb502f5b62e9b3efc6f4232a952f (diff) | |
| download | cpython-git-d7a42881dba311e66f5091cbe0ec7c01f511cc2c.tar.gz | |
renamed dispatch -> capi to match other CAPI implementations
(e.g. cStringIO, ucnhash, etc)
Diffstat (limited to 'Include/pyexpat.h')
| -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; |
