diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-20 17:37:42 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-08-20 17:37:42 (GMT) |
| commit | 72e441132f8a06679228b5f19e852f842b44689b (patch) | |
| tree | 22476b72cd91fae2a7e8f4f6d32b1aeb79a7d058 /src/cat/LuaScriptHelper.h | |
| parent | 51a0fb2d45d31cb30950d8d200a5d0fd7463fe4d (diff) | |
| download | powder-72e441132f8a06679228b5f19e852f842b44689b.zip powder-72e441132f8a06679228b5f19e852f842b44689b.tar.gz | |
TPT: Prevent accidental infinite loops in lua, fixes #115
Diffstat (limited to 'src/cat/LuaScriptHelper.h')
| -rw-r--r-- | src/cat/LuaScriptHelper.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cat/LuaScriptHelper.h b/src/cat/LuaScriptHelper.h index 8b2d9fa..d2174ea 100644 --- a/src/cat/LuaScriptHelper.h +++ b/src/cat/LuaScriptHelper.h @@ -30,6 +30,7 @@ int tptPropertiesVersion; int tptElements; //Table for TPT element names int tptParts, tptPartsMeta, tptElementTransitions, tptPartsCData, tptPartMeta, tptPart, cIndex; +void luacon_hook(lua_State *L, lua_Debug *ar); int luacon_step(int mx, int my, int selectl, int selectr, int bsx, int bsy); int luacon_mouseevent(int mx, int my, int mb, int event, int mouse_wheel); int luacon_keyevent(int key, int modifier, int event); |
