[Python-checkins] python/dist/src/Mac/Modules/win _Winmodule.c, 1.19, 1.20 winscan.py, 1.24, 1.25

jackjansen at users.sourceforge.net jackjansen at users.sourceforge.net
Wed Nov 19 11:34:06 EST 2003


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

Modified Files:
	_Winmodule.c winscan.py 
Log Message:
Getting rid of code conditional on TARGET_API_MAC_*.


Index: _Winmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/win/_Winmodule.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** _Winmodule.c	19 Nov 2003 16:13:35 -0000	1.19
--- _Winmodule.c	19 Nov 2003 16:34:04 -0000	1.20
***************
*** 1359,1364 ****
  }
  
- #if TARGET_API_MAC_OSX
- 
  static PyObject *WinObj_TransitionWindowAndParent(WindowObject *_self, PyObject *_args)
  {
--- 1359,1362 ----
***************
*** 1388,1392 ****
  	return _res;
  }
- #endif
  
  static PyObject *WinObj_MacMoveWindow(WindowObject *_self, PyObject *_args)
--- 1386,1389 ----
***************
*** 2452,2460 ****
  	{"TransitionWindow", (PyCFunction)WinObj_TransitionWindow, 1,
  	 PyDoc_STR("(WindowTransitionEffect effect, WindowTransitionAction action, Rect rect) -> None")},
- 
- #if TARGET_API_MAC_OSX
  	{"TransitionWindowAndParent", (PyCFunction)WinObj_TransitionWindowAndParent, 1,
  	 PyDoc_STR("(WindowPtr parentWindow, WindowTransitionEffect effect, WindowTransitionAction action, Rect rect) -> None")},
- #endif
  	{"MacMoveWindow", (PyCFunction)WinObj_MacMoveWindow, 1,
  	 PyDoc_STR("(short hGlobal, short vGlobal, Boolean front) -> None")},
--- 2449,2454 ----

Index: winscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/win/winscan.py,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** winscan.py	12 Dec 2002 10:31:53 -0000	1.24
--- winscan.py	19 Nov 2003 16:34:04 -0000	1.25
***************
*** 71,81 ****
  			'GetWindowSpareFlag',
  			]
! 			
! 	def makegreylist(self):
! 		return [
! 			('#if TARGET_API_MAC_OSX', [
! 				'TransitionWindowAndParent',
! 			])]
! 			
  	def makeblacklisttypes(self):
  		return [
--- 71,75 ----
  			'GetWindowSpareFlag',
  			]
! 						
  	def makeblacklisttypes(self):
  		return [





More information about the Python-checkins mailing list