summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
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
parentfc8a01fc5a2890b24ca044f3d00a5139a13e40b2 (diff)
downloadcpython-227a4232e6580891d3ee74b25888685a3c436fe2.zip
cpython-227a4232e6580891d3ee74b25888685a3c436fe2.tar.gz
cpython-227a4232e6580891d3ee74b25888685a3c436fe2.tar.bz2
the usual
Diffstat (limited to 'Mac/Modules')
-rw-r--r--Mac/Modules/ae/aegen.py1
-rw-r--r--Mac/Modules/ctl/ctlgen.py1
-rw-r--r--Mac/Modules/evt/evtgen.py3
-rw-r--r--Mac/Modules/menu/Menumodule.c2
-rw-r--r--Mac/Modules/menu/menugen.py1
-rw-r--r--Mac/Modules/res/Resmodule.c2
-rw-r--r--Mac/Modules/res/resgen.py1
-rw-r--r--Mac/Modules/res/resscan.py3
-rw-r--r--Mac/Modules/snd/sndgen.py1
9 files changed, 10 insertions, 5 deletions
diff --git a/Mac/Modules/ae/aegen.py b/Mac/Modules/ae/aegen.py
index ea9b3b6..221ef97 100644
--- a/Mac/Modules/ae/aegen.py
+++ b/Mac/Modules/ae/aegen.py
@@ -312,3 +312,4 @@ f = AEFunction(OSErr, 'AEManagerInfo',
(long, 'result', OutMode),
)
functions.append(f)
+
diff --git a/Mac/Modules/ctl/ctlgen.py b/Mac/Modules/ctl/ctlgen.py
index fcbf0f4..0a355cf 100644
--- a/Mac/Modules/ctl/ctlgen.py
+++ b/Mac/Modules/ctl/ctlgen.py
@@ -170,3 +170,4 @@ f = Method(short, 'GetCVariant',
(ControlHandle, 'theControl', InMode),
)
methods.append(f)
+
diff --git a/Mac/Modules/evt/evtgen.py b/Mac/Modules/evt/evtgen.py
index ff30b8d..fd61c4d 100644
--- a/Mac/Modules/evt/evtgen.py
+++ b/Mac/Modules/evt/evtgen.py
@@ -42,6 +42,3 @@ f = Function(void, 'GetKeys',
)
functions.append(f)
-f = Function(long, 'TickCount',
-)
-functions.append(f)
diff --git a/Mac/Modules/menu/Menumodule.c b/Mac/Modules/menu/Menumodule.c
index 78c4f60..a1308f9 100644
--- a/Mac/Modules/menu/Menumodule.c
+++ b/Mac/Modules/menu/Menumodule.c
@@ -50,7 +50,7 @@ typedef struct MenuObject {
} MenuObject;
PyObject *MenuObj_New(itself)
- const MenuHandle itself;
+ MenuHandle itself;
{
MenuObject *it;
it = PyObject_NEW(MenuObject, &Menu_Type);
diff --git a/Mac/Modules/menu/menugen.py b/Mac/Modules/menu/menugen.py
index 30315b8..2be4504 100644
--- a/Mac/Modules/menu/menugen.py
+++ b/Mac/Modules/menu/menugen.py
@@ -240,3 +240,4 @@ f = Function(void, 'DelMCEntries',
(short, 'menuItem', InMode),
)
functions.append(f)
+
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):
diff --git a/Mac/Modules/snd/sndgen.py b/Mac/Modules/snd/sndgen.py
index 2c77a1f..8e02f29 100644
--- a/Mac/Modules/snd/sndgen.py
+++ b/Mac/Modules/snd/sndgen.py
@@ -129,3 +129,4 @@ f = SndFunction(void, 'Exp1to6',
(unsigned_long, 'whichChannel', InMode),
)
functions.append(f)
+