mirror of
https://github.com/alicealys/t5-gsc-utils.git
synced 2025-04-18 20:22:52 +00:00
fix format?
This commit is contained in:
parent
09a0bc8bab
commit
b64d3f0365
@ -211,8 +211,8 @@ namespace json
|
||||
void post_unpack() override
|
||||
{
|
||||
gsc::function::add_multiple([](const scripting::variadic_args& va)
|
||||
{
|
||||
scripting::array array;
|
||||
{
|
||||
scripting::array array;
|
||||
|
||||
for (auto i = 0u; i < va.size(); i += 2)
|
||||
{
|
||||
@ -226,7 +226,7 @@ namespace json
|
||||
}
|
||||
|
||||
return array;
|
||||
}, "createmap", "json::create_map");
|
||||
}, "createmap", "json::create_map");
|
||||
|
||||
gsc::function::add_multiple([](const std::string json)
|
||||
{
|
||||
@ -282,4 +282,4 @@ namespace json
|
||||
};
|
||||
}
|
||||
|
||||
REGISTER_COMPONENT(json::component)
|
||||
REGISTER_COMPONENT(json::component)
|
||||
|
Loading…
x
Reference in New Issue
Block a user