summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/res
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-10 14:42:57 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-10 14:42:57 (GMT)
commit227a4232e6580891d3ee74b25888685a3c436fe2 (patch)
tree91b47c2e4b16996cb95836cb5223a87474c1992b /Mac/Modules/res
parentfc8a01fc5a2890b24ca044f3d00a5139a13e40b2 (diff)
downloadcpython-227a4232e6580891d3ee74b25888685a3c436fe2.zip
cpython-227a4232e6580891d3ee74b25888685a3c436fe2.tar.gz
cpython-227a4232e6580891d3ee74b25888685a3c436fe2.tar.bz2
the usual
Diffstat (limited to 'Mac/Modules/res')
-rw-r--r--Mac/Modules/res/Resmodule.c2
-rw-r--r--Mac/Modules/res/resgen.py1
-rw-r--r--Mac/Modules/res/resscan.py3
3 files changed, 5 insertions, 1 deletions
diff --git a/Mac/Modules/res/Resmodule.c b/Mac/Modules/res/Resmodule.c
index a0e487c..aeb7958 100644
--- a/Mac/Modules/res/Resmodule.c
+++ b/Mac/Modules/res/Resmodule.c
@@ -50,7 +50,7 @@ typedef struct ResourceObject {
} ResourceObject;
PyObject *ResObj_New(itself)
- const Handle itself;
+ Handle itself;
{
ResourceObject *it;
if (itself == NULL) return PyMac_Error(resNotFound);
diff --git a/Mac/Modules/res/resgen.py b/Mac/Modules/res/resgen.py
index 3716e9e..9d817a3 100644
--- a/Mac/Modules/res/resgen.py
+++ b/Mac/Modules/res/resgen.py
@@ -269,3 +269,4 @@ f = ResMethod(void, 'SetResourceSize',
(long, 'newSize', InMode),
)
resmethods.append(f)
+
diff --git a/Mac/Modules/res/resscan.py b/Mac/Modules/res/resscan.py
index 42bb389..d45d69e 100644
--- a/Mac/Modules/res/resscan.py
+++ b/Mac/Modules/res/resscan.py
@@ -38,6 +38,9 @@ class ResourcesScanner(Scanner):
return [
"ReadPartialResource",
"WritePartialResource",
+## "RmveResource", # RemoveResource
+## "SizeResource", # GetResourceSizeOnDisk
+## "MaxSizeRsrc", # GetMaxResourceSize
]
def makerepairinstructions(self):