[Python-checkins] python/dist/src/Mac/Modules/waste wastemodule.c,1.25,1.26 wastescan.py,1.11,1.12 wastesupport.py,1.16,1.17

jackjansen@projects.sourceforge.net jackjansen@projects.sourceforge.net
Mon, 18 Nov 2002 07:26:47 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/waste
In directory sc8-pr-cvs1:/tmp/cvs-serv31879/waste

Modified Files:
	wastemodule.c wastescan.py wastesupport.py 
Log Message:
Define PyDoc_STR if it isn't defined. This makes these modules compile
for Python 2.2.


Index: wastemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/waste/wastemodule.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** wastemodule.c	22 Aug 2002 23:29:45 -0000	1.25
--- wastemodule.c	18 Nov 2002 15:26:43 -0000	1.26
***************
*** 24,27 ****
--- 24,30 ----
  #include <WEObjectHandlers.h>
  #include <WETabs.h>
+ #ifndef PyDoc_STR
+ #define PyDoc_STR(x) (x)
+ #endif
  
  /* Exported by Qdmodule.c: */

Index: wastescan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/waste/wastescan.py,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** wastescan.py	15 Aug 2002 21:48:16 -0000	1.11
--- wastescan.py	18 Nov 2002 15:26:43 -0000	1.12
***************
*** 7,11 ****
  from scantools import Scanner
  
! WASTEDIR='/Applications/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/MacOS Support/(Third Party Support)/Waste 2.0 Distribution/C_C++ Headers/'
  		
  if not os.path.exists(WASTEDIR):
--- 7,11 ----
  from scantools import Scanner
  
! WASTEDIR='/Volumes/Moes/Applications (Mac OS 9)/Metrowerks CodeWarrior 7.0/Metrowerks CodeWarrior/MacOS Support/(Third Party Support)/Waste 2.0 Distribution/C_C++ Headers/'
  		
  if not os.path.exists(WASTEDIR):

Index: wastesupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/waste/wastesupport.py,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** wastesupport.py	5 Aug 2002 15:36:57 -0000	1.16
--- wastesupport.py	18 Nov 2002 15:26:43 -0000	1.17
***************
*** 64,67 ****
--- 64,70 ----
  #include <WEObjectHandlers.h>
  #include <WETabs.h>
+ #ifndef PyDoc_STR
+ #define PyDoc_STR(x) (x)
+ #endif
  
  /* Exported by Qdmodule.c: */