1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
#include <pi-contact.h>
#include "../jpilot_src/libplugin.h"
#include "pytype_basics.h"
extern PyObject* PyPiContact_New();
extern PyObject* PyPiContact_Wrap(struct Contact*, PCRecType, unsigned int, unsigned char,
int, void*, PyObject *);
extern PyTypeObject ContactType;
#define PyPiContact_Check(v) PyObject_TypeCheck(v, &ContactType)
#define PyPiContact_CheckExact(v) ((v)->ob_type == &ContactType)
typedef struct {
PyObject_HEAD
PyObject_JPTYPE
struct Contact a;
} PyPiContact;
|