]> git.bts.cx Git - benzene.git/blob - src/bz/scripting/script.h
Initial version
[benzene.git] / src / bz / scripting / script.h
1 #ifndef BZ_SCRIPTING_SCRIPT_H
2 #define BZ_SCRIPTING_SCRIPT_H
3
4 #include <bz/memory/arena.h>
5 //#include <bz/scripting/environment.h>
6 #include <sun/vm/vm.h>
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 //typedef struct BZScript BZScript;
13 //typedef BZScript * BZScriptID;
14
15 //typedef struct BZScriptInstance BZScriptInstance;
16 //typedef BZScriptInstance * BZScriptInstanceID;
17
18 extern SVMModule *bzScriptingLoadScriptModule(BZMemoryArenaID arena, const char *identifierFmt, ...);
19
20
21
22 //extern BZScriptInstanceID bzScriptingNewInstance(BZScriptID script, void *userParam, const char *identifierFmt, ...);
23
24 //extern bool bzScriptingUpdateInstance(BZScriptInstanceID instance);
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif