implement folder-hooks as a lua callback. yipeeeeeeeeeeeh
[apps/madmutt.git] / lib-lua / runtime.c
index 6023ae6..f0e9093 100644 (file)
@@ -61,6 +61,10 @@ void luaM_shutdown(void)
     lua_close(L);
 }
 
+lua_State *luaM_getruntime(void)
+{
+    return L;
+}
 
 int luaM_dofile(const char *filename)
 {