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
c2e6dd81
Commit
c2e6dd81
authored
Aug 14, 1995
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New file: list resource-ids in one place.
parent
56b14d44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
0 deletions
+54
-0
Mac/Include/pythonresources.h
Mac/Include/pythonresources.h
+54
-0
No files found.
Mac/Include/pythonresources.h
0 → 100644
View file @
c2e6dd81
/*
** Resource-IDs in use by Python.
**
** All resources used by the python interpreter itself fall
** in the range 128-256.
**
** Standard python modules use resources in the range
** 256-512.
**
** Python programs that use their own resources are advised to
** choose resource numbers higher than 512.
*/
/*
** Resources that reside in the python executable (or, for
** shared ppc python, in the core dynamic library)
*/
/* The alert for "No Python directory, where is it?" */
#define NOPYTHON_ALERT 128
#define YES_ITEM 1
#define NO_ITEM 2
#define CURWD_ITEM 3
/* The alert for "this is an applet template" */
#define NOPYC_ALERT 129
/* The dialog for our GetDirectory and PromptGetFile call */
#define GETDIR_ID 130
/* Resource ID for our "get directory" */
#define GETFILEPROMPT_ID 132
/* Resource id for prompted get file */
#define PROMPT_ITEM 10
/* The prompt, at the top */
#define SELECTCUR_ITEM 11
/* "Select current directory" button */
/* The dialog for interactive options */
#define OPT_DIALOG 131
/* Resource ID for dialog */
#define OPT_OK 1
#define OPT_CANCEL 2
#define OPT_INSPECT 3
#define OPT_VERBOSE 4
#define OPT_SUPPRESS 5
#define OPT_UNBUFFERED 6
#define OPT_DEBUGGING 7
/*
** The following are valid both in the binary (or shared library)
** and in the Preferences file
*/
/* The STR# resource for sys.path initialization */
#define PYTHONPATH_ID 128
/* The alis resource for locating the python home directory */
#define PYTHONHOME_ID 128
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