1 | /* cfpython.c */ |
1 | /* cfpython.c */ |
2 | void initContextStack(void); |
2 | void initContextStack(void); |
3 | void pushContext(CFPContext *context); |
3 | void pushContext(CFPContext *context); |
4 | CFPContext *popContext(void); |
4 | CFPContext *popContext(void); |
5 | void freeContext(CFPContext *context); |
5 | void freeContext(CFPContext *context); |
6 | int initPlugin(const char *iversion, f_plug_api gethooksptr); |
6 | extern "C" int initPlugin(const char *iversion, f_plug_api gethooksptr); |
7 | void *getPluginProperty(int *type, ...); |
7 | extern "C" void *getPluginProperty(int *type, ...); |
8 | int runPluginCommand(object *op, char *params); |
8 | extern "C" int runPluginCommand(object *op, char *params); |
9 | int postInitPlugin(void); |
9 | extern "C" int postInitPlugin(void); |
10 | void *globalEventListener(int *type, ...); |
10 | extern "C" void *globalEventListener(int *type, ...); |
11 | void *eventListener(int *type, ...); |
11 | extern "C" void *eventListener(int *type, ...); |
12 | int closePlugin(void); |
12 | extern "C" int closePlugin(void); |
13 | /* cfpython_archetype.c */ |
13 | /* cfpython_archetype.c */ |
14 | PyObject *Crossfire_Archetype_wrap(archetype *what); |
14 | PyObject *Crossfire_Archetype_wrap(archetype *what); |
15 | /* cfpython_object.c */ |
15 | /* cfpython_object.c */ |
16 | PyObject *Crossfire_Object_wrap(object *what); |
16 | PyObject *Crossfire_Object_wrap(object *what); |
17 | /* cfpython_party.c */ |
17 | /* cfpython_party.c */ |