mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
the usual
This commit is contained in:
parent
fc8a01fc5a
commit
227a4232e6
20 changed files with 83 additions and 27 deletions
|
@ -312,3 +312,4 @@ f = AEFunction(OSErr, 'AEManagerInfo',
|
|||
(long, 'result', OutMode),
|
||||
)
|
||||
functions.append(f)
|
||||
|
||||
|
|
|
@ -170,3 +170,4 @@ f = Method(short, 'GetCVariant',
|
|||
(ControlHandle, 'theControl', InMode),
|
||||
)
|
||||
methods.append(f)
|
||||
|
||||
|
|
|
@ -42,6 +42,3 @@ f = Function(void, 'GetKeys',
|
|||
)
|
||||
functions.append(f)
|
||||
|
||||
f = Function(long, 'TickCount',
|
||||
)
|
||||
functions.append(f)
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -240,3 +240,4 @@ f = Function(void, 'DelMCEntries',
|
|||
(short, 'menuItem', InMode),
|
||||
)
|
||||
functions.append(f)
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -269,3 +269,4 @@ f = ResMethod(void, 'SetResourceSize',
|
|||
(long, 'newSize', InMode),
|
||||
)
|
||||
resmethods.append(f)
|
||||
|
||||
|
|
|
@ -38,6 +38,9 @@ class ResourcesScanner(Scanner):
|
|||
return [
|
||||
"ReadPartialResource",
|
||||
"WritePartialResource",
|
||||
## "RmveResource", # RemoveResource
|
||||
## "SizeResource", # GetResourceSizeOnDisk
|
||||
## "MaxSizeRsrc", # GetMaxResourceSize
|
||||
]
|
||||
|
||||
def makerepairinstructions(self):
|
||||
|
|
|
@ -129,3 +129,4 @@ f = SndFunction(void, 'Exp1to6',
|
|||
(unsigned_long, 'whichChannel', InMode),
|
||||
)
|
||||
functions.append(f)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue