refactor: complete 'lua' namespace use
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
using namespace scripting;
|
||||
|
||||
static int l_toml_stringify(lua_State* L) {
|
||||
static int l_toml_stringify(lua::State* L) {
|
||||
auto value = lua::tovalue(L, 1);
|
||||
|
||||
if (auto mapptr = std::get_if<dynamic::Map_sptr>(&value)) {
|
||||
@@ -16,7 +16,7 @@ static int l_toml_stringify(lua_State* L) {
|
||||
}
|
||||
}
|
||||
|
||||
static int l_toml_parse(lua_State* L) {
|
||||
static int l_toml_parse(lua::State* L) {
|
||||
auto string = lua::require_string(L, 1);
|
||||
auto element = toml::parse("<string>", string);
|
||||
auto value = std::make_unique<dynamic::Value>(element);
|
||||
|
||||
Reference in New Issue
Block a user