diff options
| author | Benoit Germain <benoit.germain@ubisoft.com> | 2025-07-04 13:50:53 +0200 |
|---|---|---|
| committer | Benoit Germain <benoit.germain@ubisoft.com> | 2025-07-04 13:50:53 +0200 |
| commit | 042055968ab0c48faec607889814e38c50c09efa (patch) | |
| tree | 4ec067a03ffcb720d8bf38968d5f84ccec8230d0 /unit_tests/embedded_tests.cpp | |
| parent | 963afcbb3d9dac47b84552ed11e53a0641ad924d (diff) | |
| download | lanes-042055968ab0c48faec607889814e38c50c09efa.tar.gz lanes-042055968ab0c48faec607889814e38c50c09efa.tar.bz2 lanes-042055968ab0c48faec607889814e38c50c09efa.zip | |
Changed lua wrapper prefixes from luaG_ to luaW_ (w as in wrapper!)
Diffstat (limited to 'unit_tests/embedded_tests.cpp')
| -rw-r--r-- | unit_tests/embedded_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unit_tests/embedded_tests.cpp b/unit_tests/embedded_tests.cpp index 6dc84a1..58d6a8a 100644 --- a/unit_tests/embedded_tests.cpp +++ b/unit_tests/embedded_tests.cpp | |||
| @@ -192,7 +192,7 @@ TEST_CASE("lanes.embedding.with_default_allocator") | |||
| 192 | 192 | ||
| 193 | // try again after manual registration | 193 | // try again after manual registration |
| 194 | lua_pushcfunction(S, S.get_lanes_register()); // S: lanes_register | 194 | lua_pushcfunction(S, S.get_lanes_register()); // S: lanes_register |
| 195 | luaG_pushstring(S, LUA_IOLIBNAME); // S: lanes_register "io" | 195 | luaW_pushstring(S, LUA_IOLIBNAME); // S: lanes_register "io" |
| 196 | luaL_requiref(S, LUA_IOLIBNAME, luaopen_io, 1); // S: lanes_register "io" io | 196 | luaL_requiref(S, LUA_IOLIBNAME, luaopen_io, 1); // S: lanes_register "io" io |
| 197 | lua_call(S, 2, 0); // S: | 197 | lua_call(S, 2, 0); // S: |
| 198 | S.stackCheck(0); | 198 | S.stackCheck(0); |
