mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 03:51:50 +00:00
replace '<string>' source name with '[string]'
This commit is contained in:
parent
134deb0ae6
commit
c543575150
8 changed files with 20 additions and 20 deletions
|
|
@ -11,7 +11,7 @@ static int l_json_stringify(lua::State* L) {
|
|||
|
||||
static int l_json_parse(lua::State* L) {
|
||||
auto string = lua::require_string(L, 1);
|
||||
auto element = json::parse("<string>", string);
|
||||
auto element = json::parse("[string]", string);
|
||||
return lua::pushvalue(L, element);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ static int l_toml_stringify(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 element = toml::parse("[string]", string);
|
||||
return lua::pushvalue(L, element);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,66 +14,66 @@ namespace scripting {
|
|||
runnable create_runnable(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
wstringconsumer create_wstring_consumer(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
wstringsupplier create_wstring_supplier(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
wstringchecker create_wstring_validator(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
boolconsumer create_bool_consumer(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
boolsupplier create_bool_supplier(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
doubleconsumer create_number_consumer(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
doublesupplier create_number_supplier(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
int_array_consumer create_int_array_consumer(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
vec2supplier create_vec2_supplier(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
|
||||
value_to_string_func create_tostring(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
const std::string& file = "[string]"
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue