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
20870a51
Commit
20870a51
authored
Mar 15, 2001
by
Jack Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FindFolder argument is a short, not an unsigned short.
Added kLocalDomain and friends.
parent
fb504d08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Mac/Lib/MACFS.py
Mac/Lib/MACFS.py
+9
-1
No files found.
Mac/Lib/MACFS.py
View file @
20870a51
...
...
@@ -15,7 +15,15 @@ kIsInvisible = 0x4000
kIsAlias
=
0x8000
# Constants for FindFolder
kOnSystemDisk
=
0x8000
kOnSystemDisk
=
-
32768
# previously was 0x8000 but that is an unsigned value whereas vRefNum is signed
kOnAppropriateDisk
=
-
32767
# Generally, the same as kOnSystemDisk, but it's clearer that this isn't always the 'boot' disk.
# Folder Domains - Carbon only.
kSystemDomain
=
-
32766
# Read-only system hierarchy.
kLocalDomain
=
-
32765
# All users of a single machine have access to these resources.
kNetworkDomain
=
-
32764
# All users configured to use a common network server has access to these resources.
kUserDomain
=
-
32763
# Read/write. Resources that are private to the user.
kClassicDomain
=
-
32762
# Domain referring to the currently configured Classic System Folder
kSystemFolderType
=
'macs'
# the system folder
kDesktopFolderType
=
'desk'
# the desktop folder; objects in this folder show on the desk top.
kTrashFolderType
=
'trsh'
# the trash folder; objects in this folder show up in the trash
...
...
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