fixed a bug where this parameter was not marked VDECODE_FLAG_BYREF for SDKCall()
3 * ===============================================================
4 * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
5 * ===============================================================
7 * This file is not open source and may not be copied without explicit
8 * written permission of AlliedModders LLC. This file may not be redistributed
9 * in whole or significant part.
10 * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
15 #ifndef _INCLUDE_SOURCEMOD_CORE_AUTONATIVES_H_
16 #define _INCLUDE_SOURCEMOD_CORE_AUTONATIVES_H_
18 #include "sm_globals.h"
20 #define REGISTER_NATIVES(globname) \
21 extern sp_nativeinfo_t globNatives##globname[]; \
22 CoreNativesToAdd globNativesCls##globname(globNatives##globname); \
23 sp_nativeinfo_t globNatives##globname[] =
25 class CoreNativesToAdd : public SMGlobalClass
28 CoreNativesToAdd(sp_nativeinfo_t *pList)
32 void OnSourceModAllInitialized();
33 sp_nativeinfo_t *m_NativeList;
36 #endif //_INCLUDE_SOURCEMOD_CORE_AUTONATIVES_H_