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/Nav.c | |
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/Nav.c')
-rw-r--r-- | Mac/Modules/Nav.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Mac/Modules/Nav.c b/Mac/Modules/Nav.c index 85fae41..c86a5ef 100644 --- a/Mac/Modules/Nav.c +++ b/Mac/Modules/Nav.c @@ -31,16 +31,9 @@ PERFORMANCE OF THIS SOFTWARE. #include "Python.h" #include "macglue.h" +#include "pymactoolbox.h" #include <Navigation.h> -/* Exported by AEModule.c: */ -extern PyObject *AEDesc_New(AppleEvent *); -extern int AEDesc_Convert(PyObject *, AppleEvent *); -/* Exported by Resmodule.c */ -extern PyObject *ResObj_New(Handle); -extern PyObject *OptResObj_New(Handle); -extern int ResObj_Convert(PyObject *, Handle *); - static PyObject *ErrorObject; static NavEventUPP my_eventProcUPP; |