[Python-checkins] python/dist/src/Mac/Modules/mlte _Mltemodule.c,1.14,1.15 mltescan.py,1.10,1.11
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Thu, 12 Dec 2002 02:32:23 -0800
- Previous message: [Python-checkins] python/dist/src/Mac/Modules/menu _Menumodule.c,1.14,1.15 menuedit.py,1.9,1.10 menuscan.py,1.14,1.15
- Next message: [Python-checkins] python/dist/src/Mac/Modules/qd _Qdmodule.c,1.13,1.14 qdscan.py,1.28,1.29 qdsupport.py,1.41,1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Mac/Modules/mlte
In directory sc8-pr-cvs1:/tmp/cvs-serv21368/Modules/mlte
Modified Files:
_Mltemodule.c mltescan.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: _Mltemodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/mlte/_Mltemodule.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** _Mltemodule.c 3 Dec 2002 23:40:21 -0000 1.14
--- _Mltemodule.c 12 Dec 2002 10:31:51 -0000 1.15
***************
*** 246,270 ****
}
- #if TARGET_API_MAC_OS8
-
- static PyObject *TXNObj_TXNTSMCheck(TXNObjectObject *_self, PyObject *_args)
- {
- PyObject *_res = NULL;
- Boolean _rv;
- EventRecord ioEvent;
- #ifndef TXNTSMCheck
- PyMac_PRECHECK(TXNTSMCheck);
- #endif
- if (!PyArg_ParseTuple(_args, ""))
- return NULL;
- _rv = TXNTSMCheck(_self->ob_itself,
- &ioEvent);
- _res = Py_BuildValue("bO&",
- _rv,
- PyMac_BuildEventRecord, &ioEvent);
- return _res;
- }
- #endif
-
static PyObject *TXNObj_TXNSelectAll(TXNObjectObject *_self, PyObject *_args)
{
--- 246,249 ----
***************
*** 1194,1202 ****
{"TXNClick", (PyCFunction)TXNObj_TXNClick, 1,
PyDoc_STR("(EventRecord iEvent) -> None")},
-
- #if TARGET_API_MAC_OS8
- {"TXNTSMCheck", (PyCFunction)TXNObj_TXNTSMCheck, 1,
- PyDoc_STR("() -> (Boolean _rv, EventRecord ioEvent)")},
- #endif
{"TXNSelectAll", (PyCFunction)TXNObj_TXNSelectAll, 1,
PyDoc_STR("() -> None")},
--- 1173,1176 ----
Index: mltescan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/mlte/mltescan.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** mltescan.py 15 Aug 2002 22:05:58 -0000 1.10
--- mltescan.py 12 Dec 2002 10:31:51 -0000 1.11
***************
*** 79,82 ****
--- 79,83 ----
"status",
"justification",
+ 'TXNTSMCheck', # OS8
]
***************
*** 84,88 ****
return [
('#if TARGET_API_MAC_OS8', [
- 'TXNTSMCheck',
])]
--- 85,88 ----
- Previous message: [Python-checkins] python/dist/src/Mac/Modules/menu _Menumodule.c,1.14,1.15 menuedit.py,1.9,1.10 menuscan.py,1.14,1.15
- Next message: [Python-checkins] python/dist/src/Mac/Modules/qd _Qdmodule.c,1.13,1.14 qdscan.py,1.28,1.29 qdsupport.py,1.41,1.42
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]