mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
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.
This commit is contained in:
parent
41e25cc317
commit
9d8b96c850
45 changed files with 244 additions and 916 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue