mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +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
|
|
@ -56,16 +56,6 @@ DragTrackingMessage = Type("DragTrackingMessage", "h")
|
|||
includestuff = includestuff + """
|
||||
#include <%s>""" % MACHEADERFILE + """
|
||||
|
||||
#define resNotFound -192 /* Can't include <Errors.h> because of Python's "errors.h" */
|
||||
/* Exported by Qdmodule.c: */
|
||||
extern PyObject *QdRGB_New(RGBColor *);
|
||||
extern int QdRGB_Convert(PyObject *, RGBColor *);
|
||||
|
||||
|
||||
/* Exported by AEModule.c: */
|
||||
extern PyObject *AEDesc_New(AppleEvent *);
|
||||
extern int AEDesc_Convert(PyObject *, AppleEvent *);
|
||||
|
||||
/* Callback glue routines */
|
||||
DragTrackingHandlerUPP dragglue_TrackingHandlerUPP;
|
||||
DragReceiveHandlerUPP dragglue_ReceiveHandlerUPP;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue