diff options
Diffstat (limited to 'src/state.h')
-rw-r--r-- | src/state.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/state.h b/src/state.h new file mode 100644 index 0000000..e844405 --- /dev/null +++ b/src/state.h | |||
@@ -0,0 +1,22 @@ | |||
1 | #ifndef __LANES_STATE_H__ | ||
2 | #define __LANES_STATE_H__ | ||
3 | |||
4 | //#include "lauxlib.h" | ||
5 | #include "threading.h" | ||
6 | #include "deep.h" | ||
7 | |||
8 | #include "macros_and_utils.h" | ||
9 | |||
10 | void serialize_require( DEBUGSPEW_PARAM_COMMA( Universe* U) lua_State *L); | ||
11 | |||
12 | // ################################################################################################ | ||
13 | |||
14 | lua_State* create_state( Universe* U, lua_State* from_); | ||
15 | lua_State* luaG_newstate( Universe* U, lua_State* _from, char const* libs); | ||
16 | |||
17 | // ################################################################################################ | ||
18 | |||
19 | void initialize_on_state_create( Universe* U, lua_State* L); | ||
20 | void call_on_state_create( Universe* U, lua_State* L, lua_State* from_, LookupMode mode_); | ||
21 | |||
22 | #endif // __LANES_STATE_H__ | ||