Update wren to latest and fix build

This commit is contained in:
King_DuckZ 2022-04-22 22:02:59 +02:00
commit 0255edb8be
3 changed files with 39 additions and 6 deletions

View file

@ -44,7 +44,7 @@ namespace wren {
};
enum class SlotType {
Bool, Num, Foreign, List, Null, String, Unknown
Bool, Num, Foreign, List, Null, String, Unknown, Map
};
namespace detail {
@ -56,6 +56,7 @@ namespace wren {
char* (*load_module_fn)(Configuration&, VM*, const char*) {nullptr};
foreign_method_t (*foreign_method_fn)(Configuration&, VM*, const char*, const char*, bool, const char*) {nullptr};
foreign_class_t (*foreign_class_fn)(Configuration&, VM*, const char*, const char*) {nullptr};
void (*load_module_complete_fn)(Configuration&, VM*, const char*);
Configuration* config_obj {nullptr};
VM* owner {nullptr};