I had issue with the autoincrement. I prefer some warning about void* math

This commit is contained in:
ptitSeb 2016-04-06 13:33:54 +02:00
parent 205d71eccc
commit 4e9dee7763

View File

@ -24,7 +24,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <Engine/Templates/DynamicArray.h>
#include <Engine/Base/Shell_internal.h>
#if 0
#define NEXTARGUMENT(type) ( *((type*&)pArgs)++ )
#else
#define NEXTARGUMENT(type) ( *((type*)&pArgs) ); pArgs+=sizeof(void*);
#endif
// Object that takes care of shell functions, variables, macros etc.
class ENGINE_API CShell {