diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 11:32:58 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-03-14 11:32:58 +0100 |
commit | dee0756ff21c1f7dd4eea067dfb90feb1ba4763d (patch) | |
tree | 981ddd4ddc22bc1fae54ce3e0034da746571fb1a /unit_tests/embedded_tests.cpp | |
parent | 536a64557c82c350fd73ea64c6d4dd1737896579 (diff) | |
download | lanes-dee0756ff21c1f7dd4eea067dfb90feb1ba4763d.tar.gz lanes-dee0756ff21c1f7dd4eea067dfb90feb1ba4763d.tar.bz2 lanes-dee0756ff21c1f7dd4eea067dfb90feb1ba4763d.zip |
lanes/core.[so|dll] → lanes_core.[so|dll]
Diffstat (limited to 'unit_tests/embedded_tests.cpp')
-rw-r--r-- | unit_tests/embedded_tests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
80 | class EmbeddedLuaState : public LuaState | 80 | class EmbeddedLuaState : public LuaState |
81 | { | 81 | { |
82 | private: | 82 | private: |
83 | HMODULE hCore{ LoadLibraryW(L"lanes\\core") }; | 83 | HMODULE hCore{ LoadLibraryW(L"lanes_core") }; |
84 | lua_CFunction lanes_register{}; | 84 | lua_CFunction lanes_register{}; |
85 | 85 | ||
86 | public: | 86 | public: |
@@ -93,7 +93,7 @@ namespace | |||
93 | { | 93 | { |
94 | 94 | ||
95 | if (!hCore) { | 95 | if (!hCore) { |
96 | throw std::logic_error("Could not load lanes.core"); | 96 | throw std::logic_error("Could not load lanes_core"); |
97 | } | 97 | } |
98 | luaopen_lanes_embedded_t const _p_luaopen_lanes_embedded{ reinterpret_cast<luaopen_lanes_embedded_t>(GetProcAddress(hCore, "luaopen_lanes_embedded")) }; | 98 | luaopen_lanes_embedded_t const _p_luaopen_lanes_embedded{ reinterpret_cast<luaopen_lanes_embedded_t>(GetProcAddress(hCore, "luaopen_lanes_embedded")) }; |
99 | if (!_p_luaopen_lanes_embedded) { | 99 | if (!_p_luaopen_lanes_embedded) { |