[Python-checkins] python/dist/src/Mac/Modules/te _TEmodule.c,1.12,1.13 tescan.py,1.7,1.8
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
2002年12月12日 02:31:55 -0800
- Previous message: [Python-checkins] python/dist/src/Mac/Modules/snd _Sndmodule.c,1.12,1.13 sndscan.py,1.18,1.19 sndsupport.py,1.20,1.21
- Next message: [Python-checkins] python/dist/src/Mac/Modules/win _Winmodule.c,1.13,1.14 winedit.py,1.9,1.10 winscan.py,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Mac/Modules/te
In directory sc8-pr-cvs1:/tmp/cvs-serv21368/Modules/te
Modified Files:
_TEmodule.c tescan.py
Log Message:
Getting rid of pre-Carbon (MacOS8) support. All code depending on
TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some
TARGET_API_MAC_OSX conditional code is gone, because it is no longer
used on OSX-only Python (only in MacPython-OS9).
Index: _TEmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/te/_TEmodule.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** _TEmodule.c 3 Dec 2002 23:40:22 -0000 1.12
--- _TEmodule.c 12 Dec 2002 10:31:53 -0000 1.13
***************
*** 1198,1203 ****
}
- #if TARGET_API_MAC_CARBON
-
static PyObject *TE_TEGetScrapHandle(PyObject *_self, PyObject *_args)
{
--- 1198,1201 ----
***************
*** 1214,1220 ****
return _res;
}
- #endif
-
- #if TARGET_API_MAC_CARBON
static PyObject *TE_TESetScrapHandle(PyObject *_self, PyObject *_args)
--- 1212,1215 ----
***************
*** 1233,1237 ****
return _res;
}
- #endif
static PyObject *TE_LMGetWordRedraw(PyObject *_self, PyObject *_args)
--- 1228,1231 ----
***************
*** 1300,1313 ****
{"TEToScrap", (PyCFunction)TE_TEToScrap, 1,
PyDoc_STR("() -> None")},
-
- #if TARGET_API_MAC_CARBON
{"TEGetScrapHandle", (PyCFunction)TE_TEGetScrapHandle, 1,
PyDoc_STR("() -> (Handle _rv)")},
- #endif
-
- #if TARGET_API_MAC_CARBON
{"TESetScrapHandle", (PyCFunction)TE_TESetScrapHandle, 1,
PyDoc_STR("(Handle value) -> None")},
- #endif
{"LMGetWordRedraw", (PyCFunction)TE_LMGetWordRedraw, 1,
PyDoc_STR("() -> (UInt8 _rv)")},
--- 1294,1301 ----
Index: tescan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/te/tescan.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** tescan.py 15 Aug 2002 21:48:16 -0000 1.7
--- tescan.py 12 Dec 2002 10:31:53 -0000 1.8
***************
*** 44,54 ****
]
- def makegreylist(self):
- return [
- ('#if TARGET_API_MAC_CARBON', [
- 'TEGetScrapHandle',
- 'TESetScrapHandle',
- ])]
-
def makeblacklisttypes(self):
return [
--- 44,47 ----
- Previous message: [Python-checkins] python/dist/src/Mac/Modules/snd _Sndmodule.c,1.12,1.13 sndscan.py,1.18,1.19 sndsupport.py,1.20,1.21
- Next message: [Python-checkins] python/dist/src/Mac/Modules/win _Winmodule.c,1.13,1.14 winedit.py,1.9,1.10 winscan.py,1.23,1.24
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]