the usual

This commit is contained in:
Guido van Rossum 1995-03-10 14:42:57 +00:00
parent fc8a01fc5a
commit 227a4232e6
20 changed files with 83 additions and 27 deletions

View file

@ -312,3 +312,4 @@ f = AEFunction(OSErr, 'AEManagerInfo',
(long, 'result', OutMode),
)
functions.append(f)

View file

@ -170,3 +170,4 @@ f = Method(short, 'GetCVariant',
(ControlHandle, 'theControl', InMode),
)
methods.append(f)

View file

@ -42,6 +42,3 @@ f = Function(void, 'GetKeys',
)
functions.append(f)
f = Function(long, 'TickCount',
)
functions.append(f)

View file

@ -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);

View file

@ -240,3 +240,4 @@ f = Function(void, 'DelMCEntries',
(short, 'menuItem', InMode),
)
functions.append(f)

View file

@ -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);

View file

@ -269,3 +269,4 @@ f = ResMethod(void, 'SetResourceSize',
(long, 'newSize', InMode),
)
resmethods.append(f)

View file

@ -38,6 +38,9 @@ class ResourcesScanner(Scanner):
return [
"ReadPartialResource",
"WritePartialResource",
## "RmveResource", # RemoveResource
## "SizeResource", # GetResourceSizeOnDisk
## "MaxSizeRsrc", # GetMaxResourceSize
]
def makerepairinstructions(self):

View file

@ -129,3 +129,4 @@ f = SndFunction(void, 'Exp1to6',
(unsigned_long, 'whichChannel', InMode),
)
functions.append(f)