mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Make it compile on Windows.
This commit is contained in:
parent
7025599f3d
commit
5961f5a06d
@ -79,7 +79,7 @@ struct HandlerInfo{
|
||||
xmlhandler handler;
|
||||
};
|
||||
|
||||
static struct HandlerInfo handler_info[];
|
||||
staticforward struct HandlerInfo handler_info[];
|
||||
|
||||
static PyObject *conv_atts( XML_Char **atts){
|
||||
PyObject *attrs_obj=NULL;
|
||||
@ -147,8 +147,10 @@ static RC my_##NAME##Handler PARAMS {\
|
||||
return RETURN; \
|
||||
}
|
||||
|
||||
#define NOTHING /**/
|
||||
|
||||
#define VOID_HANDLER( NAME, PARAMS, PARAM_FORMAT ) \
|
||||
RC_HANDLER( void, NAME, PARAMS, , PARAM_FORMAT, , ,\
|
||||
RC_HANDLER( void, NAME, PARAMS, NOTHING, PARAM_FORMAT, NOTHING, NOTHING,\
|
||||
(xmlparseobject *)userData )
|
||||
|
||||
#define INT_HANDLER( NAME, PARAMS, PARAM_FORMAT )\
|
||||
|
Loading…
Reference in New Issue
Block a user