summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/res/ressupport.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/res/ressupport.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/res/ressupport.py')
-rw-r--r--Mac/Modules/res/ressupport.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Mac/Modules/res/ressupport.py b/Mac/Modules/res/ressupport.py
index 10e2724..b19c10d 100644
--- a/Mac/Modules/res/ressupport.py
+++ b/Mac/Modules/res/ressupport.py
@@ -24,8 +24,6 @@ includestuff = includestuff + """
#include <Resources.h>
#include <string.h>
-#define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
-
/* Function to dispose a resource, with a "normal" calling sequence */
static void
PyMac_AutoDisposeHandle(Handle h)