Fix uninitialised pointers. Whoopsies!

This commit is contained in:
King_DuckZ 2020-05-01 18:21:33 +02:00
parent f33900b351
commit f5fcbd193a

View file

@ -54,8 +54,8 @@ namespace wren {
void* (*reallocate_fn)(void*, std::size_t) {nullptr}; void* (*reallocate_fn)(void*, std::size_t) {nullptr};
const char* (*resolve_module_fn)(Configuration&, VM*, const char*, const char*) {nullptr}; const char* (*resolve_module_fn)(Configuration&, VM*, const char*, const char*) {nullptr};
char* (*load_module_fn)(Configuration&, VM*, const char*) {nullptr}; char* (*load_module_fn)(Configuration&, VM*, const char*) {nullptr};
foreign_method_t (*foreign_method_fn)(Configuration&, VM*, const char*, const char*, bool, const char*); 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*); foreign_class_t (*foreign_class_fn)(Configuration&, VM*, const char*, const char*) {nullptr};
Configuration* config_obj {nullptr}; Configuration* config_obj {nullptr};
VM* owner {nullptr}; VM* owner {nullptr};