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
08c3be35
Commit
08c3be35
authored
Apr 08, 1997
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the few old routine names still used to the new ones
Started working on MSL support
parent
85ae4a82
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
Mac/Python/macgetcompiler.c
Mac/Python/macgetcompiler.c
+8
-3
Mac/Python/macglue.c
Mac/Python/macglue.c
+2
-2
Mac/Python/macmain.c
Mac/Python/macmain.c
+4
-4
No files found.
Mac/Python/macgetcompiler.c
View file @
08c3be35
...
@@ -43,13 +43,18 @@ PERFORMANCE OF THIS SOFTWARE.
...
@@ -43,13 +43,18 @@ PERFORMANCE OF THIS SOFTWARE.
#else
#else
#define HASGUSI ""
#define HASGUSI ""
#endif
#endif
#ifdef USE_MSL
#define HASMSL " w/MSL"
#else
#define HASMSL ""
#endif
#ifdef __powerc
#ifdef __powerc
#define COMPILER " [CW PPC" HASGUSI "]"
#define COMPILER " [CW PPC" HASGUSI
HASMSL
"]"
#else
#else
#ifdef __CFM68K__
#ifdef __CFM68K__
#define COMPILER " [CW CFM68K" HASGUSI "]"
#define COMPILER " [CW CFM68K" HASGUSI
HASMSL
"]"
#else
#else
#define COMPILER " [CW 68K" HASGUSI "]"
#define COMPILER " [CW 68K" HASGUSI
HASMSL
"]"
#endif
#endif
#endif
#endif
#endif
#endif
...
...
Mac/Python/macglue.c
View file @
08c3be35
...
@@ -173,7 +173,7 @@ PyMac_FixGUSIcd()
...
@@ -173,7 +173,7 @@ PyMac_FixGUSIcd()
pb
.
ioNamePtr
=
"\p"
;
pb
.
ioNamePtr
=
"\p"
;
pb
.
ioVRefNum
=
curdirfss
.
vRefNum
;
pb
.
ioVRefNum
=
curdirfss
.
vRefNum
;
pb
.
ioWDDirID
=
curdirfss
.
parID
;
pb
.
ioWDDirID
=
curdirfss
.
parID
;
if
(
PBHSetVol
(
&
pb
,
0
)
!=
noErr
)
if
(
PBHSetVol
Sync
(
&
pb
)
!=
noErr
)
return
;
return
;
}
}
...
@@ -540,7 +540,7 @@ PyMac_InitMenuBar()
...
@@ -540,7 +540,7 @@ PyMac_InitMenuBar()
MenuHandle
applemenu
;
MenuHandle
applemenu
;
if
(
(
bar
=
GetMenuBar
())
==
NULL
)
return
;
if
(
(
bar
=
GetMenuBar
())
==
NULL
)
return
;
if
(
(
applemenu
=
GetMHandle
(
SIOUX_APPLEID
))
==
NULL
)
return
;
if
(
(
applemenu
=
GetM
enu
Handle
(
SIOUX_APPLEID
))
==
NULL
)
return
;
SetMenuItemText
(
applemenu
,
1
,
"\pAbout Python..."
);
SetMenuItemText
(
applemenu
,
1
,
"\pAbout Python..."
);
}
}
...
...
Mac/Python/macmain.c
View file @
08c3be35
...
@@ -127,7 +127,7 @@ PyMac_InteractiveOptions(PyMac_PrefRecord *p, int *argcp, char ***argvp)
...
@@ -127,7 +127,7 @@ PyMac_InteractiveOptions(PyMac_PrefRecord *p, int *argcp, char ***argvp)
/* Set default values */
/* Set default values */
#define SET_OPT_ITEM(num, var) \
#define SET_OPT_ITEM(num, var) \
GetDialogItem(dialog, (num), &type, (Handle *)&handle, &rect); \
GetDialogItem(dialog, (num), &type, (Handle *)&handle, &rect); \
SetC
t
lValue(handle, (short)p->var);
SetC
ontro
lValue(handle, (short)p->var);
SET_OPT_ITEM
(
OPT_INSPECT
,
inspect
);
SET_OPT_ITEM
(
OPT_INSPECT
,
inspect
);
SET_OPT_ITEM
(
OPT_VERBOSE
,
verbose
);
SET_OPT_ITEM
(
OPT_VERBOSE
,
verbose
);
...
@@ -146,7 +146,7 @@ PyMac_InteractiveOptions(PyMac_PrefRecord *p, int *argcp, char ***argvp)
...
@@ -146,7 +146,7 @@ PyMac_InteractiveOptions(PyMac_PrefRecord *p, int *argcp, char ***argvp)
if
(
item
==
OPT_OK
)
if
(
item
==
OPT_OK
)
break
;
break
;
if
(
item
==
OPT_CANCEL
)
{
if
(
item
==
OPT_CANCEL
)
{
DisposDialog
(
dialog
);
Dispos
e
Dialog
(
dialog
);
exit
(
0
);
exit
(
0
);
}
}
if
(
item
==
OPT_CMDLINE
)
{
if
(
item
==
OPT_CMDLINE
)
{
...
@@ -171,7 +171,7 @@ PyMac_InteractiveOptions(PyMac_PrefRecord *p, int *argcp, char ***argvp)
...
@@ -171,7 +171,7 @@ PyMac_InteractiveOptions(PyMac_PrefRecord *p, int *argcp, char ***argvp)
if ( item == (num) ) { \
if ( item == (num) ) { \
p->var = !p->var; \
p->var = !p->var; \
GetDialogItem(dialog, (num), &type, (Handle *)&handle, &rect); \
GetDialogItem(dialog, (num), &type, (Handle *)&handle, &rect); \
SetC
t
lValue(handle, (short)p->var); \
SetC
ontro
lValue(handle, (short)p->var); \
}
}
OPT_ITEM
(
OPT_INSPECT
,
inspect
);
OPT_ITEM
(
OPT_INSPECT
,
inspect
);
...
@@ -184,7 +184,7 @@ PyMac_InteractiveOptions(PyMac_PrefRecord *p, int *argcp, char ***argvp)
...
@@ -184,7 +184,7 @@ PyMac_InteractiveOptions(PyMac_PrefRecord *p, int *argcp, char ***argvp)
#undef OPT_ITEM
#undef OPT_ITEM
}
}
DisposDialog
(
dialog
);
Dispos
e
Dialog
(
dialog
);
}
}
/*
/*
...
...
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