/* cfpython.c */ void initContextStack(void); void pushContext(CFPContext *context); CFPContext *popContext(void); void freeContext(CFPContext *context); extern "C" int initPlugin(const char *iversion, f_plug_api gethooksptr); extern "C" void *getPluginProperty(int *type, ...); extern "C" int runPluginCommand(object *op, char *params); extern "C" int postInitPlugin(void); extern "C" void *globalEventListener(int *type, ...); extern "C" void *eventListener(int *type, ...); extern "C" int closePlugin(void); /* cfpython_archetype.c */ PyObject *Crossfire_Archetype_wrap(archetype *what); /* cfpython_object.c */ PyObject *Crossfire_Object_wrap(object *what); /* cfpython_party.c */ PyObject *Crossfire_Party_wrap(partylist *what); /* cfpython_region.c */ PyObject *Crossfire_Region_wrap(region *what); /* cfpython_map.c */ PyObject *Crossfire_Map_wrap(mapstruct *what);