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
b58f1c0c
Commit
b58f1c0c
authored
Oct 08, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added declarations for PyMac_SetConsoleHandler, PyMan_DUmmyReadHandler
and PyMac_DummyWriteHandler.
parent
144d387c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
Mac/Include/macglue.h
Mac/Include/macglue.h
+19
-0
No files found.
Mac/Include/macglue.h
View file @
b58f1c0c
...
...
@@ -123,6 +123,25 @@ OSErr PyMac_init_process_location(void);
char
*
strdup
(
const
char
*
str
);
#endif
#ifdef USE_GUSI2
/* from pyGUSISIOUX.cp */
typedef
long
(
*
PyWriteHandler
)(
char
*
buffer
,
long
n
);
typedef
long
(
*
PyReadHandler
)(
char
*
buffer
,
long
n
);
/* Override routines that normally reads and writes to the
** SIOUX console window. Intended for embedding applications
** that want to forestall a Python console window ever showing up.
*/
void
PyMac_SetConsoleHandler
(
PyReadHandler
stdinH
,
PyWriteHandler
stdoutH
,
PyWriteHandler
stderrH
);
/* Courtesy console handlers that drop all output and return
** 0 on reads.
*/
long
PyMac_DummyReadHandler
(
char
*
,
long
);
long
PyMac_DummyWriteHandler
(
char
*
,
long
);
#endif
/* USE_GUSI2 */
#ifdef __cplusplus
}
#endif
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