Files
godot-git-plugin/godot-git-plugin/src/allocation_defs.h
2021-10-04 01:13:47 +05:30

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