mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
renamed dispatch -> capi to match other CAPI implementations
(e.g. cStringIO, ucnhash, etc)
This commit is contained in:
parent
c3345040df
commit
d7a42881db
2 changed files with 27 additions and 27 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue