diff options
Diffstat (limited to 'src/tools.h')
-rw-r--r-- | src/tools.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/tools.h b/src/tools.h index 93ed92c..bf48f1f 100644 --- a/src/tools.h +++ b/src/tools.h | |||
@@ -90,10 +90,17 @@ typedef struct { | |||
90 | } DEEP_PRELUDE; | 90 | } DEEP_PRELUDE; |
91 | 91 | ||
92 | void luaG_push_proxy( lua_State *L, luaG_IdFunction idfunc, DEEP_PRELUDE *deep_userdata); | 92 | void luaG_push_proxy( lua_State *L, luaG_IdFunction idfunc, DEEP_PRELUDE *deep_userdata); |
93 | void luaG_inter_copy_package( lua_State* L, lua_State* L2, int _idx); | 93 | void luaG_inter_copy_package( lua_State* L, lua_State* L2, int _idx, enum eLookupMode mode_); |
94 | 94 | ||
95 | int luaG_inter_copy( lua_State *L, lua_State *L2, uint_t n); | 95 | enum eLookupMode |
96 | int luaG_inter_move( lua_State *L, lua_State *L2, uint_t n); | 96 | { |
97 | eLM_LaneBody, // send the lane body directly from the source to the destination lane | ||
98 | eLM_ToKeeper, // send a function from a lane to a keeper state | ||
99 | eLM_FromKeeper, // send a function from a keeper state to a lane | ||
100 | }; | ||
101 | |||
102 | int luaG_inter_copy( lua_State *L, lua_State *L2, uint_t n, enum eLookupMode mode_); | ||
103 | int luaG_inter_move( lua_State *L, lua_State *L2, uint_t n, enum eLookupMode mode_); | ||
97 | 104 | ||
98 | int luaG_nameof( lua_State* L); | 105 | int luaG_nameof( lua_State* L); |
99 | int luaG_new_require( lua_State* L); | 106 | int luaG_new_require( lua_State* L); |