1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#include <pi-datebook.h>
#include "../jpilot_src/libplugin.h"
#include "pytype_basics.h"
extern PyObject* PyPiAppointment_New();
extern PyObject* PyPiAppointment_Wrap(Appointment_t*, PCRecType, unsigned int, unsigned char,
int, void*, PyObject *);
extern PyTypeObject AppointmentType;
#define PyPiAppointment_Check(v) PyObject_TypeCheck(v, &AppointmentType)
#define PyPiAppointment_CheckExact(v) ((v)->ob_type == &AppointmentType)
typedef struct {
PyObject_HEAD
PyObject_JPTYPE
Appointment_t a;
} PyPiAppointment;
|