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
245d1793
Commit
245d1793
authored
Jan 30, 1999
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added pascal-style string name of preference file resource, and bracketed
C struct declarations with #ifndef rez
parent
c0780ac8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
Mac/Include/pythonresources.h
Mac/Include/pythonresources.h
+6
-1
No files found.
Mac/Include/pythonresources.h
View file @
245d1793
...
...
@@ -116,7 +116,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* The STR resource that holds the preference file name */
/* #define PREFFILENAME_ID 228 */
#define PREFFILENAME_ID 228
/* For Rez only */
#define PREFFILENAME_PASCAL_NAME "PythonPreferenceFileName"
#define PREFFILENAME_NAME "\pPythonPreferenceFileName"
/* The STR# resource for sys.path initialization */
...
...
@@ -142,6 +143,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define POPT_VERSION_CURRENT 4
/* Current version number */
#ifndef rez
typedef
struct
PyMac_PrefRecord
{
unsigned
char
version
;
unsigned
char
inspect
;
...
...
@@ -156,11 +158,14 @@ typedef struct PyMac_PrefRecord {
unsigned
char
oldexc
;
unsigned
char
nosite
;
}
PyMac_PrefRecord
;
#endif
/* The GUSI options resources */
#define GUSIOPTIONS_ID 10240
#define GUSIOPTIONSOVERRIDE_ID 10241
#ifndef rez
/* From macgetpath.c: */
void
PyMac_PreferenceOptions
Py_PROTO
((
PyMac_PrefRecord
*
));
char
*
PyMac_GetPythonDir
Py_PROTO
((
void
));
#endif
\ No newline at end of file
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