From dee0756ff21c1f7dd4eea067dfb90feb1ba4763d Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Fri, 14 Mar 2025 11:32:58 +0100 Subject: lanes/core.[so|dll] → lanes_core.[so|dll] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- unit_tests/embedded_tests.cpp | 4 ++-- unit_tests/lane_tests.cpp | 2 +- unit_tests/shared.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'unit_tests') diff --git a/unit_tests/embedded_tests.cpp b/unit_tests/embedded_tests.cpp index d4794df..a63383a 100644 --- a/unit_tests/embedded_tests.cpp +++ b/unit_tests/embedded_tests.cpp @@ -80,7 +80,7 @@ namespace class EmbeddedLuaState : public LuaState { private: - HMODULE hCore{ LoadLibraryW(L"lanes\\core") }; + HMODULE hCore{ LoadLibraryW(L"lanes_core") }; lua_CFunction lanes_register{}; public: @@ -93,7 +93,7 @@ namespace { if (!hCore) { - throw std::logic_error("Could not load lanes.core"); + throw std::logic_error("Could not load lanes_core"); } luaopen_lanes_embedded_t const _p_luaopen_lanes_embedded{ reinterpret_cast(GetProcAddress(hCore, "luaopen_lanes_embedded")) }; if (!_p_luaopen_lanes_embedded) { diff --git a/unit_tests/lane_tests.cpp b/unit_tests/lane_tests.cpp index 196b31d..bf239ba 100644 --- a/unit_tests/lane_tests.cpp +++ b/unit_tests/lane_tests.cpp @@ -170,7 +170,7 @@ TEST_CASE("lanes.gen") S.requireSuccess("lanes.gen('utf8?', function() end)"); #endif // LUA_VERSION_NUM < 503 - S.requireSuccess("lanes.gen('lanes.core', function() end)"); + S.requireSuccess("lanes.gen('lanes_core', function() end)"); // "*" repeated or combined with anything else is forbidden S.requireFailure("lanes.gen('*', '*', function() end)"); S.requireFailure("lanes.gen('base', '*', function() end)"); diff --git a/unit_tests/shared.cpp b/unit_tests/shared.cpp index f9697a5..d139579 100644 --- a/unit_tests/shared.cpp +++ b/unit_tests/shared.cpp @@ -186,7 +186,7 @@ LuaState::LuaState(WithBaseLibs const withBaseLibs_, WithFixture const withFixtu luaL_openlibs(L); } else { #if LUAJIT_FLAVOR() - // lanes.core relies on the presence of jit to detect LuaJIT/PUC-Lua mismatches + // lanes_core relies on the presence of jit to detect LuaJIT/PUC-Lua mismatches luaL_requiref(L, LUA_JITLIBNAME, luaopen_jit, 1); lua_pop(L, 1); #endif // LUAJIT_FLAVOR -- cgit v1.2.3-55-g6feb