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
6fc5aecd
Commit
6fc5aecd
authored
Feb 19, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ported back to Think C
parent
9784295b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
Mac/Modules/snd/Sndmodule.c
Mac/Modules/snd/Sndmodule.c
+1
-1
Mac/Modules/snd/sndsupport.py
Mac/Modules/snd/sndsupport.py
+1
-1
Mac/Python/macgetargv.c
Mac/Python/macgetargv.c
+8
-1
No files found.
Mac/Modules/snd/Sndmodule.c
View file @
6fc5aecd
...
...
@@ -36,7 +36,7 @@ extern PyObject *WinObj_WhichWindow(WindowPtr);
#ifndef HAVE_UNIVERSAL_HEADERS
#define SndCallBackUPP ProcPtr
#define NewSndCallBackProc(x) (
x
)
#define NewSndCallBackProc(x) (
(SndCallBackProcPtr)(x)
)
#define SndListHandle Handle
#endif
...
...
Mac/Modules/snd/sndsupport.py
View file @
6fc5aecd
...
...
@@ -21,7 +21,7 @@ includestuff = includestuff + """
#ifndef HAVE_UNIVERSAL_HEADERS
#define SndCallBackUPP ProcPtr
#define NewSndCallBackProc(x) (
x
)
#define NewSndCallBackProc(x) (
(SndCallBackProcPtr)(x)
)
#define SndListHandle Handle
#endif
"""
...
...
Mac/Python/macgetargv.c
View file @
6fc5aecd
...
...
@@ -41,6 +41,10 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <AEObjects.h>
#include <Desk.h>
#include <Fonts.h>
#include <TextEdit.h>
#include <Menus.h>
#include <Dialogs.h>
#include <Windows.h>
#ifdef GENERATINGCFM
/* Defined to 0 or 1 in Universal headers */
#define HAVE_UNIVERSAL_HEADERS
...
...
@@ -147,7 +151,6 @@ get_application_name()
{
static
char
appname
[
256
];
FSSpec
appspec
;
long
size
;
if
(
current_process_location
(
&
appspec
))
return
NULL
;
...
...
@@ -282,6 +285,9 @@ event_loop()
static
void
init_mac_world
()
{
#ifdef THINK_C
printf
(
"
\n
"
);
#else
MaxApplZone
();
InitGraf
(
&
qd
.
thePort
);
InitFonts
();
...
...
@@ -290,6 +296,7 @@ init_mac_world()
InitDialogs
((
long
)
0
);
InitMenus
();
InitCursor
();
#endif
}
/* Get the argv vector, return argc */
...
...
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