Remove version checks from all include files

This commit is contained in:
xPaw
2015-02-25 00:56:17 +02:00
parent af6c6850ec
commit 379d9121b4
18 changed files with 84 additions and 156 deletions

View File

@@ -27,13 +27,9 @@
#include <ham_const>
#if AMXX_VERSION_NUM >= 175
#pragma reqlib hamsandwich
#if !defined AMXMODX_NOAUTOLOAD
#pragma loadlib hamsandwich
#endif
#else
#pragma library hamsandwich
#pragma reqlib hamsandwich
#if !defined AMXMODX_NOAUTOLOAD
#pragma loadlib hamsandwich
#endif
/**
@@ -320,24 +316,24 @@ native GetHamItemInfo(iteminfo_handle, HamItemInfo:type, any:...);
*/
native SetHamItemInfo(iteminfo_handle, HamItemInfo:type, any:...);
/**
* Creates an ItemInfo handle. This value should never be altered.
* The handle can be used in Get/SetHamItemInfo.
*
* NOTE: You must call FreeHamItemInfo() on every handle made with CreateHamItemInfo().
*
* @return A new ItemInfo handle.
*/
native CreateHamItemInfo();
/**
* Frees an ItemIndo handle created with CreateHamItemInfo(). Do not call
* this more than once per handle, or on handles not created through
* CreateHamItemInfo().
*
* @param itemInfo_handle ItemInfo handle created via CreateHamItemInfo().
* @noreturn
*/
/**
* Creates an ItemInfo handle. This value should never be altered.
* The handle can be used in Get/SetHamItemInfo.
*
* NOTE: You must call FreeHamItemInfo() on every handle made with CreateHamItemInfo().
*
* @return A new ItemInfo handle.
*/
native CreateHamItemInfo();
/**
* Frees an ItemIndo handle created with CreateHamItemInfo(). Do not call
* this more than once per handle, or on handles not created through
* CreateHamItemInfo().
*
* @param itemInfo_handle ItemInfo handle created via CreateHamItemInfo().
* @noreturn
*/
native FreeHamItemInfo(itemInfo_handle);