aboutsummaryrefslogtreecommitdiff
path: root/src/tools.h
diff options
context:
space:
mode:
authorBenoit 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
committerBenoit 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
commit8d6500fe389624be422ee546f71a1efd4456eabe (patch)
treeb9462a142180b8edb01e1eb284a42fea9f0156bc /src/tools.h
parent60e5d94af372471c2a3bab91963588ca650bff7b (diff)
downloadlanes-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.h4
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;
22void luaG_dump( lua_State* L); 22void luaG_dump( lua_State* L);
23#endif // _DEBUG 23#endif // _DEBUG
24 24
25lua_State* create_state( Universe* U, lua_State* from_);
25lua_State* luaG_newstate( Universe* U, lua_State* _from, char const* libs); 26lua_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
37void populate_func_lookup_table( lua_State* L, int _i, char const* _name); 38void populate_func_lookup_table( lua_State* L, int _i, char const* _name);
38void serialize_require( DEBUGSPEW_PARAM_COMMA( Universe* U) lua_State *L); 39void serialize_require( DEBUGSPEW_PARAM_COMMA( Universe* U) lua_State *L);
40void initialize_allocator_function( Universe* U, lua_State* L);
41void cleanup_allocator_function( Universe* U, lua_State* L);
42
39void initialize_on_state_create( Universe* U, lua_State* L); 43void initialize_on_state_create( Universe* U, lua_State* L);
40void call_on_state_create( Universe* U, lua_State* L, lua_State* from_, LookupMode mode_); 44void call_on_state_create( Universe* U, lua_State* L, lua_State* from_, LookupMode mode_);
41 45