aboutsummaryrefslogtreecommitdiff
path: root/src/deep.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/deep.c')
-rw-r--r--src/deep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/deep.c b/src/deep.c
index e9b7db5..82350f4 100644
--- a/src/deep.c
+++ b/src/deep.c
@@ -174,7 +174,7 @@ static void get_deep_lookup( lua_State* L)
174* Return the registered ID function for 'index' (deep userdata proxy), 174* Return the registered ID function for 'index' (deep userdata proxy),
175* or NULL if 'index' is not a deep userdata proxy. 175* or NULL if 'index' is not a deep userdata proxy.
176*/ 176*/
177static inline luaG_IdFunction get_idfunc( lua_State* L, int index, enum eLookupMode mode_) 177static inline luaG_IdFunction get_idfunc( lua_State* L, int index, LookupMode mode_)
178{ 178{
179 // when looking inside a keeper, we are 100% sure the object is a deep userdata 179 // when looking inside a keeper, we are 100% sure the object is a deep userdata
180 if( mode_ == eLM_FromKeeper) 180 if( mode_ == eLM_FromKeeper)
@@ -270,7 +270,7 @@ static int deep_userdata_gc( lua_State* L)
270 * used in this Lua state (metatable, registring it). Otherwise, increments the 270 * used in this Lua state (metatable, registring it). Otherwise, increments the
271 * reference count. 271 * reference count.
272 */ 272 */
273char const* push_deep_proxy( Universe* U, lua_State* L, DeepPrelude* prelude, enum eLookupMode mode_) 273char const* push_deep_proxy( Universe* U, lua_State* L, DeepPrelude* prelude, LookupMode mode_)
274{ 274{
275 DeepPrelude** proxy; 275 DeepPrelude** proxy;
276 276
@@ -519,7 +519,7 @@ void* luaG_todeep( lua_State* L, luaG_IdFunction idfunc, int index)
519 * the id function of the copied value, or NULL for non-deep userdata 519 * the id function of the copied value, or NULL for non-deep userdata
520 * (not copied) 520 * (not copied)
521 */ 521 */
522luaG_IdFunction copydeep( Universe* U, lua_State* L, lua_State* L2, int index, enum eLookupMode mode_) 522luaG_IdFunction copydeep( Universe* U, lua_State* L, lua_State* L2, int index, LookupMode mode_)
523{ 523{
524 char const* errmsg; 524 char const* errmsg;
525 luaG_IdFunction idfunc = get_idfunc( L, index, mode_); 525 luaG_IdFunction idfunc = get_idfunc( L, index, mode_);