summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu/menuscan.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-12-16 20:18:40 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-12-16 20:18:40 (GMT)
commit2168e9d602cffbb6975a11353707a921455c05f7 (patch)
tree4ea57b7032c9f1ed1751fe838623259d43b3f30c /Mac/Modules/menu/menuscan.py
parentb519638d1ee6715d4c262d804408041d4caf6b5a (diff)
downloadcpython-2168e9d602cffbb6975a11353707a921455c05f7.zip
cpython-2168e9d602cffbb6975a11353707a921455c05f7.tar.gz
cpython-2168e9d602cffbb6975a11353707a921455c05f7.tar.bz2
Adapted for Universal Headers 3.4
Diffstat (limited to 'Mac/Modules/menu/menuscan.py')
-rw-r--r--Mac/Modules/menu/menuscan.py37
1 files changed, 36 insertions, 1 deletions
diff --git a/Mac/Modules/menu/menuscan.py b/Mac/Modules/menu/menuscan.py
index c9b1b42..ef2d2f8 100644
--- a/Mac/Modules/menu/menuscan.py
+++ b/Mac/Modules/menu/menuscan.py
@@ -42,6 +42,7 @@ class MyScanner(Scanner):
"GetMenuCommandProperty",
"GetMenuTitle", # Funny arg/returnvalue
"SetMenuTitle",
+ "SetMenuTitleIcon", # void*
]
def makegreylist(self):
@@ -83,7 +84,37 @@ class MyScanner(Scanner):
'GetMenuAttributes',
'ChangeMenuItemPropertyAttributes',
'GetMenuItemPropertyAttributes',
-
+ 'AcquireRootMenu',
+ 'UpdateInvalidMenuItems',
+ 'InvalidateMenuItems',
+ 'IsMenuItemInvalid',
+ 'GetMenuCommandMark',
+ 'SetMenuCommandMark',
+ 'GetMenuType',
+ 'SetMenuItemCommandKey',
+ 'GetMenuItemCommandKey',
+ 'SetMenuItemIndent',
+ 'GetMenuItemIndent',
+ 'SetMenuItemTextWithCFString',
+ 'CopyMenuItemTextAsCFString',
+ 'GetMenuItemHierarchicalMenu',
+ 'SetMenuItemHierarchicalMenu',
+ 'SetRootMenu',
+ 'IsMenuBarInvalid',
+ 'InvalidateMenuEnabling',
+ 'InsertMenuItemTextWithCFString',
+ 'AppendMenuItemTextWithCFString',
+ 'DeleteMenuItems',
+ 'CopyMenuItems',
+ 'IsMenuSizeInvalid',
+ 'InvalidateMenuSize',
+ 'SetMenuTitleWithCFString',
+ 'CopyMenuTitleAsCFString',
+ 'DuplicateMenu',
+ 'ReleaseMenu',
+ 'RetainMenu',
+ 'GetMenuRetainCount',
+ 'IsValidMenu',
])]
def makeblacklisttypes(self):
@@ -96,6 +127,10 @@ class MyScanner(Scanner):
"MenuDefSpecPtr", # Too difficult for now
"MenuDefSpec_ptr", # ditto
"MenuTrackingData",
+ "void_ptr", # Don't know yet.
+ "EventRef", # For now, not exported yet.
+ "MenuItemDataPtr", # Not yet.
+ "MenuItemDataRec_ptr",
]
def makerepairinstructions(self):