diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-12 11:26:38 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-12 11:26:38 +0200 |
commit | fffa17d7e28f4a3147adf1f2ae2a73c4b0f7b945 (patch) | |
tree | 01f9bbebd6aab5f9be47597e4f62dd0f10853d3a /deep_test | |
parent | f1c3401e80a3228ee3ef5110e73712e1aa879fca (diff) | |
download | lanes-fffa17d7e28f4a3147adf1f2ae2a73c4b0f7b945.tar.gz lanes-fffa17d7e28f4a3147adf1f2ae2a73c4b0f7b945.tar.bz2 lanes-fffa17d7e28f4a3147adf1f2ae2a73c4b0f7b945.zip |
Add support for to-be-closed linda
Diffstat (limited to 'deep_test')
-rw-r--r-- | deep_test/deep_test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deep_test/deep_test.cpp b/deep_test/deep_test.cpp index 178075d..2497742 100644 --- a/deep_test/deep_test.cpp +++ b/deep_test/deep_test.cpp | |||
@@ -131,7 +131,8 @@ int luaD_new_deep(lua_State* L) | |||
131 | { | 131 | { |
132 | int const nuv{ static_cast<int>(luaL_optinteger(L, 1, 0)) }; | 132 | int const nuv{ static_cast<int>(luaL_optinteger(L, 1, 0)) }; |
133 | lua_settop(L, 0); | 133 | lua_settop(L, 0); |
134 | return MyDeepFactory::Instance.pushDeepUserdata(DestState{ L }, nuv); | 134 | MyDeepFactory::Instance.pushDeepUserdata(DestState{ L }, nuv); |
135 | return 1; | ||
135 | } | 136 | } |
136 | 137 | ||
137 | // ################################################################################################# | 138 | // ################################################################################################# |