mirror of
https://github.com/godotengine/godot-cpp.git
synced 2026-01-05 02:10:14 +03:00
Rename interface to gdn_interface because it's a defined keyword under windows
This commit is contained in:
@@ -35,15 +35,15 @@
|
||||
namespace godot {
|
||||
|
||||
void *Memory::alloc_static(size_t p_bytes) {
|
||||
return internal::interface->mem_alloc(p_bytes);
|
||||
return internal::gdn_interface->mem_alloc(p_bytes);
|
||||
}
|
||||
|
||||
void *Memory::realloc_static(void *p_memory, size_t p_bytes) {
|
||||
return internal::interface->mem_realloc(p_memory, p_bytes);
|
||||
return internal::gdn_interface->mem_realloc(p_memory, p_bytes);
|
||||
}
|
||||
|
||||
void Memory::free_static(void *p_ptr) {
|
||||
internal::interface->mem_free(p_ptr);
|
||||
internal::gdn_interface->mem_free(p_ptr);
|
||||
}
|
||||
|
||||
} // namespace godot
|
||||
|
||||
Reference in New Issue
Block a user