summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu/menuscan.py
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2002-01-03 12:16:18 (GMT)
committerJust van Rossum <just@letterror.com>2002-01-03 12:16:18 (GMT)
commit8edfc542f098f98754a959d3414238eab152cb88 (patch)
tree73d8c327e508c5dfe34594e3458741abfbe62e49 /Mac/Modules/menu/menuscan.py
parentad4f532f6532cc099ba5665e3553394db907796c (diff)
downloadcpython-8edfc542f098f98754a959d3414238eab152cb88.zip
cpython-8edfc542f098f98754a959d3414238eab152cb88.tar.gz
cpython-8edfc542f098f98754a959d3414238eab152cb88.tar.bz2
The output MenuRef of GetMenuItemHierarchicalMenu() may be NULL.
Diffstat (limited to 'Mac/Modules/menu/menuscan.py')
-rw-r--r--Mac/Modules/menu/menuscan.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Modules/menu/menuscan.py b/Mac/Modules/menu/menuscan.py
index ef2d2f8..11be8f2 100644
--- a/Mac/Modules/menu/menuscan.py
+++ b/Mac/Modules/menu/menuscan.py
@@ -144,6 +144,8 @@ class MyScanner(Scanner):
([("void", "*", "OutMode"), ("long", "*", "InMode"),
("long", "*", "OutMode")],
[("VarVarOutBuffer", "*", "InOutMode")]),
+ ([("MenuRef", 'outHierMenu', "OutMode")],
+ [("OptMenuRef", 'outHierMenu', "OutMode")]),
]
def writeinitialdefs(self):