diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-14 16:01:26 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-06-14 16:01:26 +0200 |
commit | 4d364d3e77667b70bf3261da004f4990ef0c3ada (patch) | |
tree | 5a106ca427ba8704635b3324a352475dd8706ab8 /src/lindafactory.cpp | |
parent | a925a9ee21c10184a08625e83d2b55850d6cb32f (diff) | |
download | lanes-4d364d3e77667b70bf3261da004f4990ef0c3ada.tar.gz lanes-4d364d3e77667b70bf3261da004f4990ef0c3ada.tar.bz2 lanes-4d364d3e77667b70bf3261da004f4990ef0c3ada.zip |
lua_pushliteral -> luaG_pushstring
Diffstat (limited to 'src/lindafactory.cpp')
-rw-r--r-- | src/lindafactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lindafactory.cpp b/src/lindafactory.cpp index 863f16e..9ae2611 100644 --- a/src/lindafactory.cpp +++ b/src/lindafactory.cpp | |||
@@ -49,7 +49,7 @@ void LindaFactory::createMetatable(lua_State* L_) const | |||
49 | lua_setfield(L_, -2, "__index"); | 49 | lua_setfield(L_, -2, "__index"); |
50 | 50 | ||
51 | // protect metatable from external access | 51 | // protect metatable from external access |
52 | lua_pushliteral(L_, kLindaMetatableName); | 52 | luaG_pushstring(L_, kLindaMetatableName); |
53 | lua_setfield(L_, -2, "__metatable"); | 53 | lua_setfield(L_, -2, "__metatable"); |
54 | 54 | ||
55 | // the linda functions | 55 | // the linda functions |