aboutsummaryrefslogtreecommitdiff
path: root/src/tools.h
diff options
context:
space:
mode:
authorBenoit Germain <bnt.germain@gmail.com>2021-06-24 17:47:20 +0200
committerBenoit Germain <bnt.germain@gmail.com>2021-06-24 17:47:20 +0200
commit050e14dd7fa04e2262ae6b1cc984d76c4149b664 (patch)
tree8b7cead727e2b9e545dbbd458ef4009eb099db92 /src/tools.h
parent4e8242de0c5d8c853201ec49dacf5aa9a5b0f7d3 (diff)
downloadlanes-050e14dd7fa04e2262ae6b1cc984d76c4149b664.tar.gz
lanes-050e14dd7fa04e2262ae6b1cc984d76c4149b664.tar.bz2
lanes-050e14dd7fa04e2262ae6b1cc984d76c4149b664.zip
correctly transfer the uservalue of a deep userdata
Diffstat (limited to 'src/tools.h')
-rw-r--r--src/tools.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/tools.h b/src/tools.h
index 8a8ad7b..0df88e9 100644
--- a/src/tools.h
+++ b/src/tools.h
@@ -20,9 +20,6 @@ typedef struct s_Universe Universe;
20void luaG_dump( lua_State* L); 20void luaG_dump( lua_State* L);
21#endif // _DEBUG 21#endif // _DEBUG
22 22
23lua_State* create_state( Universe* U, lua_State* from_);
24lua_State* luaG_newstate( Universe* U, lua_State* _from, char const* libs);
25
26// ################################################################################################ 23// ################################################################################################
27 24
28int luaG_inter_copy_package( Universe* U, lua_State* L, lua_State* L2, int package_idx_, LookupMode mode_); 25int luaG_inter_copy_package( Universe* U, lua_State* L, lua_State* L2, int package_idx_, LookupMode mode_);
@@ -31,16 +28,11 @@ int luaG_inter_copy( Universe* U, lua_State* L, lua_State* L2, uint_t n, LookupM
31int luaG_inter_move( Universe* U, lua_State* L, lua_State* L2, uint_t n, LookupMode mode_); 28int luaG_inter_move( Universe* U, lua_State* L, lua_State* L2, uint_t n, LookupMode mode_);
32 29
33int luaG_nameof( lua_State* L); 30int luaG_nameof( lua_State* L);
34int luaG_new_require( lua_State* L);
35 31
36void populate_func_lookup_table( lua_State* L, int _i, char const* _name); 32void populate_func_lookup_table( lua_State* L, int _i, char const* _name);
37void serialize_require( DEBUGSPEW_PARAM_COMMA( Universe* U) lua_State *L);
38void initialize_allocator_function( Universe* U, lua_State* L); 33void initialize_allocator_function( Universe* U, lua_State* L);
39void cleanup_allocator_function( Universe* U, lua_State* L); 34void cleanup_allocator_function( Universe* U, lua_State* L);
40 35
41void initialize_on_state_create( Universe* U, lua_State* L);
42void call_on_state_create( Universe* U, lua_State* L, lua_State* from_, LookupMode mode_);
43
44// ################################################################################################ 36// ################################################################################################
45 37
46// crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/ 38// crc64/we of string "CONFIG_REGKEY" generated at http://www.nitrxgen.net/hashgen/