LSFramework/LSString/LSMacros.h
DirtyDuckEUW 4f9b04c049 new file: LSList.h
new file:   LSListItem.h
	new file:   LSMacros.h
	modified:   LSString.h
	modified:   LSString.vcxproj
	new file:   LSVector.h
	modified:   main.cpp
2021-10-18 23:58:17 +02:00

15 lines
No EOL
216 B
C

#pragma once
#define DELETE_POINTER(Pointer) \
if (Pointer != nullptr)\
{\
delete Pointer;\
Pointer = nullptr;\
}
#define DELETE_ARRAY(Array) \
if (Array != nullptr)\
{\
delete[] Array;\
Array = nullptr;\
}