mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
Declare memnew_arr and memdelete_arr macros in memory.h as I still can't decide about them.
This commit is contained in:
parent
5aa8f6ccd3
commit
e60cb3ab42
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user