[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,2.1,2.2

Guido van Rossum python-dev@python.org
Fri, 31 Mar 2000 11:18:13 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Modules
In directory eric:/projects/python/develop/guido/src/Modules

Modified Files:
	pyexpat.c 
Log Message:
Make it compile on Windows.


Index: pyexpat.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.1
retrieving revision 2.2
diff -C2 -r2.1 -r2.2
*** pyexpat.c	2000/03/31 15:43:31	2.1
--- pyexpat.c	2000/03/31 16:18:11	2.2
***************
*** 80,84 ****
  };
  
! static struct HandlerInfo handler_info[];
  
  static PyObject *conv_atts( XML_Char **atts){
--- 80,84 ----
  };
  
! staticforward struct HandlerInfo handler_info[];
  
  static PyObject *conv_atts( XML_Char **atts){
***************
*** 148,153 ****
  }
  
  #define VOID_HANDLER( NAME, PARAMS, PARAM_FORMAT ) \
!         RC_HANDLER( void, NAME, PARAMS, , PARAM_FORMAT, , ,\
          (xmlparseobject *)userData )
  
--- 148,155 ----
  }
  
+ #define NOTHING /**/
+ 
  #define VOID_HANDLER( NAME, PARAMS, PARAM_FORMAT ) \
!         RC_HANDLER( void, NAME, PARAMS, NOTHING, PARAM_FORMAT, NOTHING, NOTHING,\
          (xmlparseobject *)userData )
  
***************
*** 682,686 ****
  initpyexpat(){
          PyObject *m, *d;
!         char *rev="$Revision: 2.1 $";
          PyObject *errors_module, *errors_dict;
  
--- 684,688 ----
  initpyexpat(){
          PyObject *m, *d;
!         char *rev="$Revision: 2.2 $";
          PyObject *errors_module, *errors_dict;