diff options
author | David Walter Seikel | 2012-02-22 23:46:56 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-22 23:46:56 +1000 |
commit | f93cf73e01e9cf4b0a6be43d61ebc24b9fa64b0d (patch) | |
tree | a291eb5bf596aad17791b37a2a2826d9271742f3 /libraries/luaproc/luaproc.h | |
parent | Implement llGetScriptName(). (diff) | |
download | SledjHamr-f93cf73e01e9cf4b0a6be43d61ebc24b9fa64b0d.zip SledjHamr-f93cf73e01e9cf4b0a6be43d61ebc24b9fa64b0d.tar.gz SledjHamr-f93cf73e01e9cf4b0a6be43d61ebc24b9fa64b0d.tar.bz2 SledjHamr-f93cf73e01e9cf4b0a6be43d61ebc24b9fa64b0d.tar.xz |
Implement callAndReturn(), use it from callAndWait(). That's most of LuaSL's side of "use OpenSim to deal with in world stuff".
Diffstat (limited to 'libraries/luaproc/luaproc.h')
-rw-r--r-- | libraries/luaproc/luaproc.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libraries/luaproc/luaproc.h b/libraries/luaproc/luaproc.h index a5dde0d..1286107 100644 --- a/libraries/luaproc/luaproc.h +++ b/libraries/luaproc/luaproc.h | |||
@@ -29,6 +29,7 @@ THE SOFTWARE. | |||
29 | #define _LUAPROC_H_ | 29 | #define _LUAPROC_H_ |
30 | 30 | ||
31 | #include "channel.h" | 31 | #include "channel.h" |
32 | #include <Ecore.h> | ||
32 | 33 | ||
33 | /* process is idle */ | 34 | /* process is idle */ |
34 | #define LUAPROC_STAT_IDLE 0 | 35 | #define LUAPROC_STAT_IDLE 0 |
@@ -46,7 +47,7 @@ typedef struct stluaproc *luaproc; | |||
46 | 47 | ||
47 | void luaprocInit(void); | 48 | void luaprocInit(void); |
48 | void luaprocRegister(lua_State *L); | 49 | void luaprocRegister(lua_State *L); |
49 | int newProc(const char *code, int file); | 50 | int newProc(const char *code, int file, Ecore_Cb callback, void *data); |
50 | 51 | ||
51 | 52 | ||
52 | /* return a process' status */ | 53 | /* return a process' status */ |