mirror of
https://github.com/python/cpython.git
synced 2025-08-23 18:24:46 +00:00
Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).
This commit is contained in:
parent
c262a1f51c
commit
60087fb450
136 changed files with 207 additions and 0 deletions
27
Lib/plat-mac/Carbon/Resources.py
Normal file
27
Lib/plat-mac/Carbon/Resources.py
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Generated from 'Resources.h'
|
||||
|
||||
resSysHeap = 64
|
||||
resPurgeable = 32
|
||||
resLocked = 16
|
||||
resProtected = 8
|
||||
resPreload = 4
|
||||
resChanged = 2
|
||||
mapReadOnly = 128
|
||||
mapCompact = 64
|
||||
mapChanged = 32
|
||||
resSysRefBit = 7
|
||||
resSysHeapBit = 6
|
||||
resPurgeableBit = 5
|
||||
resLockedBit = 4
|
||||
resProtectedBit = 3
|
||||
resPreloadBit = 2
|
||||
resChangedBit = 1
|
||||
mapReadOnlyBit = 7
|
||||
mapCompactBit = 6
|
||||
mapChangedBit = 5
|
||||
kResFileNotOpened = -1
|
||||
kSystemResFile = 0
|
||||
kRsrcChainBelowSystemMap = 0
|
||||
kRsrcChainBelowApplicationMap = 1
|
||||
kRsrcChainAboveApplicationMap = 2
|
||||
kRsrcChainAboveAllMaps = 4
|
Loading…
Add table
Add a link
Reference in a new issue