00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef TA_STACKALLOCK_H
00013 #define TA_STACKALLOCK_H
00014
00015 #ifndef TA_COMMON_H
00016 #include "Common.h"
00017 #endif // TA_COMMON_H
00018
00019 #include <malloc.h>
00020
00021 TA_OBFUSCATION_SKIP_PASS_2
00022
00023 #ifdef TA_GCC_LINUX
00024 #define TA_STACK_ALLOC(Type, pPointer, nSize) Type pPointer[nSize]
00025 #else
00026 #define TA_STACK_ALLOC(Type, pPointer, nSize) Type* pPointer = (Type*)_alloca((nSize) * sizeof (Type))
00027 #endif
00028
00029 #endif // TA_STACKALLOCK_H
00030
© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.