Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6d25e47c
Commit
6d25e47c
authored
Aug 03, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TXNTSMCheck isn't available under Mach-O Carbon.
parent
d38f92f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
Mac/Modules/mlte/Mltemodule.c
Mac/Modules/mlte/Mltemodule.c
+5
-1
Mac/Modules/mlte/mltescan.py
Mac/Modules/mlte/mltescan.py
+5
-1
No files found.
Mac/Modules/mlte/Mltemodule.c
View file @
6d25e47c
...
...
@@ -19,7 +19,7 @@
#ifdef WITHOUT_FRAMEWORKS
#include <MacTextEditor.h>
#else
#include <
xxxx
.h>
#include <
Carbon/Carbon
.h>
#endif
/* For now we declare them forward here. They'll go to mactoolbox later */
...
...
@@ -229,6 +229,7 @@ static PyObject *TXNObj_TXNClick(TXNObjectObject *_self, PyObject *_args)
return
_res
;
}
#if !TARGET_API_MAC_OSX
static
PyObject
*
TXNObj_TXNTSMCheck
(
TXNObjectObject
*
_self
,
PyObject
*
_args
)
{
PyObject
*
_res
=
NULL
;
...
...
@@ -244,6 +245,7 @@ static PyObject *TXNObj_TXNTSMCheck(TXNObjectObject *_self, PyObject *_args)
_rv
);
return
_res
;
}
#endif
static
PyObject
*
TXNObj_TXNSelectAll
(
TXNObjectObject
*
_self
,
PyObject
*
_args
)
{
...
...
@@ -946,8 +948,10 @@ static PyMethodDef TXNObj_methods[] = {
"(RgnHandle ioCursorRgn) -> None"
},
{
"TXNClick"
,
(
PyCFunction
)
TXNObj_TXNClick
,
1
,
"(EventRecord iEvent) -> None"
},
#if !TARGET_API_MAC_OSX
{
"TXNTSMCheck"
,
(
PyCFunction
)
TXNObj_TXNTSMCheck
,
1
,
"(EventRecord iEvent) -> (Boolean _rv)"
},
#endif
{
"TXNSelectAll"
,
(
PyCFunction
)
TXNObj_TXNSelectAll
,
1
,
"() -> None"
},
{
"TXNFocus"
,
(
PyCFunction
)
TXNObj_TXNFocus
,
1
,
...
...
Mac/Modules/mlte/mltescan.py
View file @
6d25e47c
...
...
@@ -76,7 +76,11 @@ MovieFileType = FOUR_CHAR_CODE('moov')
]
def
makegreylist
(
self
):
return
[]
return
[
(
'#if !TARGET_API_MAC_OSX'
,
[
'TXNTSMCheck'
,
])]
def
makeblacklisttypes
(
self
):
return
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment