diff options
author | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2018-11-25 12:45:11 +0100 |
---|---|---|
committer | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2018-11-25 12:45:11 +0100 |
commit | 8d6500fe389624be422ee546f71a1efd4456eabe (patch) | |
tree | b9462a142180b8edb01e1eb284a42fea9f0156bc /src/tools.h | |
parent | 60e5d94af372471c2a3bab91963588ca650bff7b (diff) | |
download | lanes-8d6500fe389624be422ee546f71a1efd4456eabe.tar.gz lanes-8d6500fe389624be422ee546f71a1efd4456eabe.tar.bz2 lanes-8d6500fe389624be422ee546f71a1efd4456eabe.zip |
protect_allocator configure option is gone, long live allocator (more embedders-friendly)
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools.h b/src/tools.h index ca0b9fc..71460c3 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -22,6 +22,7 @@ typedef struct s_Universe Universe; | |||
22 | void luaG_dump( lua_State* L); | 22 | void luaG_dump( lua_State* L); |
23 | #endif // _DEBUG | 23 | #endif // _DEBUG |
24 | 24 | ||
25 | lua_State* create_state( Universe* U, lua_State* from_); | ||
25 | lua_State* luaG_newstate( Universe* U, lua_State* _from, char const* libs); | 26 | lua_State* luaG_newstate( Universe* U, lua_State* _from, char const* libs); |
26 | 27 | ||
27 | // ################################################################################################ | 28 | // ################################################################################################ |
@@ -36,6 +37,9 @@ int luaG_new_require( lua_State* L); | |||
36 | 37 | ||
37 | void populate_func_lookup_table( lua_State* L, int _i, char const* _name); | 38 | void populate_func_lookup_table( lua_State* L, int _i, char const* _name); |
38 | void serialize_require( DEBUGSPEW_PARAM_COMMA( Universe* U) lua_State *L); | 39 | void serialize_require( DEBUGSPEW_PARAM_COMMA( Universe* U) lua_State *L); |
40 | void initialize_allocator_function( Universe* U, lua_State* L); | ||
41 | void cleanup_allocator_function( Universe* U, lua_State* L); | ||
42 | |||
39 | void initialize_on_state_create( Universe* U, lua_State* L); | 43 | void initialize_on_state_create( Universe* U, lua_State* L); |
40 | void call_on_state_create( Universe* U, lua_State* L, lua_State* from_, LookupMode mode_); | 44 | void call_on_state_create( Universe* U, lua_State* L, lua_State* from_, LookupMode mode_); |
41 | 45 | ||