[Python-checkins] CVS: python/dist/src/Mac/Modules Nav.c,1.12,1.13
Jack Jansen
jackjansen@users.sourceforge.net
Tue, 22 May 2001 14:48:42 -0700
Update of /cvsroot/python/python/dist/src/Mac/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv12942/Modules
Modified Files:
Nav.c
Log Message:
Fixed changed UPP routines names. The module now compiles and loads.
Index: Nav.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/Nav.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** Nav.c 2001/01/19 23:46:28 1.12
--- Nav.c 2001/05/22 21:48:40 1.13
***************
*** 33,37 ****
--- 33,41 ----
#include "macglue.h"
#include "pymactoolbox.h"
+ #ifdef WITHOUT_FRAMEWORKS
#include <Navigation.h>
+ #else
+ #include <Carbon/Carbon.h>
+ #endif
static PyObject *ErrorObject;
***************
*** 966,972 ****
/* Set UPPs */
! my_eventProcUPP = NewNavEventProc(my_eventProc);
! my_previewProcUPP = NewNavPreviewProc(my_previewProc);
! my_filterProcUPP = NewNavObjectFilterProc(my_filterProc);
}
--- 970,976 ----
/* Set UPPs */
! my_eventProcUPP = NewNavEventUPP(my_eventProc);
! my_previewProcUPP = NewNavPreviewUPP(my_previewProc);
! my_filterProcUPP = NewNavObjectFilterUPP(my_filterProc);
}