scriptenv?

This commit is contained in:
MihailRis 2024-04-21 15:41:47 +03:00
parent d213902648
commit 635e512142
26 changed files with 128 additions and 158 deletions

View file

@ -3,65 +3,66 @@
#include <glm/glm.hpp>
#include <string>
#include "../../typedefs.h"
#include "../../delegates.h"
namespace scripting {
runnable create_runnable(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);
wstringconsumer create_wstring_consumer(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);
wstringsupplier create_wstring_supplier(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);
wstringchecker create_wstring_validator(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);
boolconsumer create_bool_consumer(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);
boolsupplier create_bool_supplier(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);
doubleconsumer create_number_consumer(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);
doublesupplier create_number_supplier(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);
int_array_consumer create_int_array_consumer(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);
vec2supplier create_vec2_supplier(
int env,
const scriptenv& env,
const std::string& src,
const std::string& file="<string>"
);