summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu/menusupport.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-07-14 22:16:45 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-07-14 22:16:45 (GMT)
commit9d8b96c8507644811ba92ead8f131060aafac19f (patch)
tree3e6c736185b2b38ad813f41c393d528802f3f984 /Mac/Modules/menu/menusupport.py
parent41e25cc317e0db3a84f91c04a194e5f0065772a2 (diff)
downloadcpython-9d8b96c8507644811ba92ead8f131060aafac19f.zip
cpython-9d8b96c8507644811ba92ead8f131060aafac19f.tar.gz
cpython-9d8b96c8507644811ba92ead8f131060aafac19f.tar.bz2
pymactoolbox.h contains protoypes for all externally visible toolbox module
functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
Diffstat (limited to 'Mac/Modules/menu/menusupport.py')
-rw-r--r--Mac/Modules/menu/menusupport.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Mac/Modules/menu/menusupport.py b/Mac/Modules/menu/menusupport.py
index b706a36..1325e10 100644
--- a/Mac/Modules/menu/menusupport.py
+++ b/Mac/Modules/menu/menusupport.py
@@ -32,8 +32,6 @@ includestuff = includestuff + """
#include <Devices.h> /* Defines OpenDeskAcc in universal headers */
#include <%s>""" % MACHEADERFILE + """
-#define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
-
#define as_Menu(h) ((MenuHandle)h)
#define as_Resource(h) ((Handle)h)
"""