Add a reallocate_fn() to DefConfiguration implemented around new/delete

This commit is contained in:
King_DuckZ 2020-05-02 23:28:48 +02:00
commit cad9f96739
2 changed files with 24 additions and 0 deletions

View file

@ -29,5 +29,6 @@ namespace wren {
public:
static void write_fn (VM*, const char* text);
static void error_fn (VM*, ErrorType, const char* module, int line, const char* msg);
static void* reallocate_fn(void* ptr, std::size_t size);
};
} //namespace wren