summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Lib/toolbox/Resources.py12
-rw-r--r--Mac/Modules/res/Resmodule.c1
-rw-r--r--Mac/Modules/res/resgen.py2
3 files changed, 13 insertions, 2 deletions
diff --git a/Mac/Lib/toolbox/Resources.py b/Mac/Lib/toolbox/Resources.py
index 60a466f..9b4741c 100644
--- a/Mac/Lib/toolbox/Resources.py
+++ b/Mac/Lib/toolbox/Resources.py
@@ -1,4 +1,4 @@
-# Generated from 'Sap:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Resources.h'
+# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Resources.h'
resSysHeap = 64
resPurgeable = 32
@@ -9,5 +9,15 @@ 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
diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c
index cadb5db..4e8ed8f 100644
--- a/Mac/Modules/res/Resmodule.c
+++ b/Mac/Modules/res/Resmodule.c
@@ -1336,6 +1336,7 @@ static PyMethodDef Res_methods[] = {
PyObject *ResObj_OptNew(itself)
Handle itself;
{
+ ResourceObject *it;
if (itself == NULL) {
Py_INCREF(Py_None);
return Py_None;
diff --git a/Mac/Modules/res/resgen.py b/Mac/Modules/res/resgen.py
index 6300d5c..fe267da 100644
--- a/Mac/Modules/res/resgen.py
+++ b/Mac/Modules/res/resgen.py
@@ -1,4 +1,4 @@
-# Generated from 'Sap:CodeWarrior6:Metrowerks C/C++:Headers:Universal Headers 2.0.1f:Resources.h'
+# Generated from 'Sap:CodeWarrior7:Metrowerks CodeWarrior:MacOS Support:Headers:Universal Headers:Resources.h'
f = ResFunction(short, 'InitResources',
)