mirror of
https://github.com/godotengine/godot-git-plugin.git
synced 2026-01-03 10:09:43 +03:00
8 lines
221 B
C
8 lines
221 B
C
#ifndef ALLOCATION_DEF_H
|
|
#define ALLOCATION_DEF_H
|
|
|
|
#define memnew(klass) new klass()
|
|
#define memdelete(pointer) pointer ? delete pointer : WARN_PRINT("GitAPI: Tried to delete a NULL object");
|
|
|
|
#endif // !ALLOCATION_DEF_H
|