diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-14 22:16:45 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2000-07-14 22:16:45 (GMT) |
commit | 9d8b96c8507644811ba92ead8f131060aafac19f (patch) | |
tree | 3e6c736185b2b38ad813f41c393d528802f3f984 /Mac/Modules/menu/menusupport.py | |
parent | 41e25cc317e0db3a84f91c04a194e5f0065772a2 (diff) | |
download | cpython-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.py | 2 |
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) """ |