limit dv::value templated constructors & refactor
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
namespace scripting {
|
||||
using common_func = std::function<dv::value(const std::vector<dv::value>&)>;
|
||||
using value_to_string_func = std::function<std::string(const dv::value&)>;
|
||||
|
||||
runnable create_runnable(
|
||||
const scriptenv& env,
|
||||
@@ -70,7 +71,7 @@ namespace scripting {
|
||||
const std::string& file = "<string>"
|
||||
);
|
||||
|
||||
dv::to_string_func create_tostring(
|
||||
value_to_string_func create_tostring(
|
||||
const scriptenv& env,
|
||||
const std::string& src,
|
||||
const std::string& file = "<string>"
|
||||
|
||||
Reference in New Issue
Block a user