Mark clientprefs natives as optional when ext not required. (bug 4839, r=fyren).
This commit is contained in:
parent
c05f6b7bf3
commit
d1f1a88ffd
@ -1,7 +1,7 @@
|
|||||||
/**
|
/**
|
||||||
* vim: set ts=4 :
|
* vim: set ts=4 :
|
||||||
* =============================================================================
|
* =============================================================================
|
||||||
* SourceMod (C)2004-2008 AlliedModders LLC. All rights reserved.
|
* SourceMod (C)2004-2011 AlliedModders LLC. All rights reserved.
|
||||||
* =============================================================================
|
* =============================================================================
|
||||||
*
|
*
|
||||||
* This file is part of the SourceMod/SourcePawn SDK.
|
* This file is part of the SourceMod/SourcePawn SDK.
|
||||||
@ -252,3 +252,21 @@ public Extension:__ext_clientprefs =
|
|||||||
required = 0,
|
required = 0,
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#if !defined REQUIRE_EXTENSIONS
|
||||||
|
public __ext_clientprefs_SetNTVOptional()
|
||||||
|
{
|
||||||
|
MarkNativeAsOptional("RegClientCookie");
|
||||||
|
MarkNativeAsOptional("FindClientCookie");
|
||||||
|
MarkNativeAsOptional("SetClientCookie");
|
||||||
|
MarkNativeAsOptional("GetClientCookie");
|
||||||
|
MarkNativeAsOptional("AreClientCookiesCached");
|
||||||
|
MarkNativeAsOptional("SetCookiePrefabMenu");
|
||||||
|
MarkNativeAsOptional("SetCookieMenuItem");
|
||||||
|
MarkNativeAsOptional("ShowCookieMenu");
|
||||||
|
MarkNativeAsOptional("GetCookieIterator");
|
||||||
|
MarkNativeAsOptional("ReadCookieIterator");
|
||||||
|
MarkNativeAsOptional("GetCookieAccess");
|
||||||
|
MarkNativeAsOptional("GetClientCookieTime");
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user