From ab941c943aedf8f233619773c09c0fde304b8e93 Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 31 Jul 2025 18:35:42 +0200 Subject: Copy deep_userdata_example test script in the test framework * I need to keep deep_userdata_example hackishly built-in inside the unit tests executable, because using the external module cause a crash in Lua51 tests (module is unloaded before some deep objects are GCed...) * copy the test script in the proper location and invoke it as part of the tests --- deep_userdata_example/deep_userdata_example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deep_userdata_example') diff --git a/deep_userdata_example/deep_userdata_example.cpp b/deep_userdata_example/deep_userdata_example.cpp index e87c48f..6845ff1 100644 --- a/deep_userdata_example/deep_userdata_example.cpp +++ b/deep_userdata_example/deep_userdata_example.cpp @@ -307,7 +307,7 @@ int luaD_new_clonable(lua_State* L) // ################################################################################################# static luaL_Reg const deep_module[] = { - { "get_deep_count", luaD_get_deep_count }, + { "get_deep_count", luaD_get_deep_count }, { "new_deep", luaD_new_deep }, { "new_clonable", luaD_new_clonable }, { nullptr, nullptr } -- cgit v1.2.3-55-g6feb