mirror of
https://github.com/ptitSeb/Serious-Engine
synced 2024-11-29 21:25:54 +01:00
I had issue with the autoincrement. I prefer some warning about void* math
This commit is contained in:
parent
205d71eccc
commit
4e9dee7763
|
@ -24,7 +24,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
#include <Engine/Templates/DynamicArray.h>
|
#include <Engine/Templates/DynamicArray.h>
|
||||||
#include <Engine/Base/Shell_internal.h>
|
#include <Engine/Base/Shell_internal.h>
|
||||||
|
|
||||||
|
#if 0
|
||||||
#define NEXTARGUMENT(type) ( *((type*&)pArgs)++ )
|
#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.
|
// Object that takes care of shell functions, variables, macros etc.
|
||||||
class ENGINE_API CShell {
|
class ENGINE_API CShell {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user