2 * ===============================================================
3 * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
4 * ===============================================================
6 * This file is not open source and may not be copied without explicit
7 * written permission of AlliedModders LLC. This file may not be redistributed
8 * in whole or significant part.
9 * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
14 #ifndef _INCLUDE_SOURCEMOD_CORE_AUTONATIVES_H_
15 #define _INCLUDE_SOURCEMOD_CORE_AUTONATIVES_H_
17 #include "sm_globals.h"
19 #define REGISTER_NATIVES(globname) \
20 extern sp_nativeinfo_t globNatives##globname[]; \
21 CoreNativesToAdd globNativesCls##globname(globNatives##globname); \
22 sp_nativeinfo_t globNatives##globname[] =
24 class CoreNativesToAdd : public SMGlobalClass
27 CoreNativesToAdd(sp_nativeinfo_t *pList)
31 void OnSourceModAllInitialized();
32 sp_nativeinfo_t *m_NativeList;
35 #endif //_INCLUDE_SOURCEMOD_CORE_AUTONATIVES_H_