diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-09 15:49:18 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-04-09 15:49:18 +0200 |
commit | 95932749a53f46ae5901798a17e1f0c4c33ac6b2 (patch) | |
tree | 327d85f6f634edfacc01dc587492d96f9200344d /src/deep.h | |
parent | 98ff4191c2cd215c7d6a429e9ddd66f7a6a30316 (diff) | |
download | lanes-95932749a53f46ae5901798a17e1f0c4c33ac6b2.tar.gz lanes-95932749a53f46ae5901798a17e1f0c4c33ac6b2.tar.bz2 lanes-95932749a53f46ae5901798a17e1f0c4c33ac6b2.zip |
C++ migration: use strong type safety for source and destination states in transfer functions
Diffstat (limited to 'src/deep.h')
-rw-r--r-- | src/deep.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -54,8 +54,8 @@ struct DeepPrelude | |||
54 | std::atomic<int> m_refcount{ 0 }; | 54 | std::atomic<int> m_refcount{ 0 }; |
55 | }; | 55 | }; |
56 | 56 | ||
57 | char const* push_deep_proxy(lua_State* L, DeepPrelude* prelude, int nuv_, LookupMode mode_); | 57 | char const* push_deep_proxy(Dest L, DeepPrelude* prelude, int nuv_, LookupMode mode_); |
58 | void free_deep_prelude( lua_State* L, DeepPrelude* prelude_); | 58 | void free_deep_prelude( lua_State* L, DeepPrelude* prelude_); |
59 | 59 | ||
60 | LANES_API int luaG_newdeepuserdata( lua_State* L, luaG_IdFunction idfunc, int nuv_); | 60 | LANES_API int luaG_newdeepuserdata(Dest L, luaG_IdFunction idfunc, int nuv_); |
61 | LANES_API DeepPrelude* luaG_todeep(lua_State* L, luaG_IdFunction idfunc, int index); | 61 | LANES_API DeepPrelude* luaG_todeep(lua_State* L, luaG_IdFunction idfunc, int index); |