Declare memnew_arr and memdelete_arr macros in memory.h as I still can't decide about them.

This commit is contained in:
Relintai 2022-02-04 13:36:17 +01:00
parent 5aa8f6ccd3
commit e60cb3ab42

View File

@ -7,6 +7,8 @@
#define memnew(m_class) new m_class
#define memdelete(instance) delete instance
#define memnew_arr(m_class, size) new m_class[size]
#define memdelete_arr(instance) delete[] instance
#endif