fixed capitalization on uint64 keyvalues natives
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40822
This commit is contained in:
parent
a55400b0ac
commit
2cad3c3424
@ -124,7 +124,7 @@ static cell_t smn_KvSetNum(IPluginContext *pCtx, const cell_t *params)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static cell_t smn_KvSetUint64(IPluginContext *pCtx, const cell_t *params)
|
static cell_t smn_KvSetUInt64(IPluginContext *pCtx, const cell_t *params)
|
||||||
{
|
{
|
||||||
Handle_t hndl = static_cast<Handle_t>(params[1]);
|
Handle_t hndl = static_cast<Handle_t>(params[1]);
|
||||||
HandleError herr;
|
HandleError herr;
|
||||||
@ -312,7 +312,7 @@ static cell_t smn_KvGetColor(IPluginContext *pCtx, const cell_t *params)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static cell_t smn_KvGetUint64(IPluginContext *pCtx, const cell_t *params)
|
static cell_t smn_KvGetUInt64(IPluginContext *pCtx, const cell_t *params)
|
||||||
{
|
{
|
||||||
Handle_t hndl = static_cast<Handle_t>(params[1]);
|
Handle_t hndl = static_cast<Handle_t>(params[1]);
|
||||||
HandleError herr;
|
HandleError herr;
|
||||||
@ -820,14 +820,14 @@ REGISTER_NATIVES(keyvaluenatives)
|
|||||||
{
|
{
|
||||||
{"KvSetString", smn_KvSetString},
|
{"KvSetString", smn_KvSetString},
|
||||||
{"KvSetNum", smn_KvSetNum},
|
{"KvSetNum", smn_KvSetNum},
|
||||||
{"KvSetUint64", smn_KvSetUint64},
|
{"KvSetUInt64", smn_KvSetUInt64},
|
||||||
{"KvSetFloat", smn_KvSetFloat},
|
{"KvSetFloat", smn_KvSetFloat},
|
||||||
{"KvSetColor", smn_KvSetColor},
|
{"KvSetColor", smn_KvSetColor},
|
||||||
{"KvGetString", smn_KvGetString},
|
{"KvGetString", smn_KvGetString},
|
||||||
{"KvGetNum", smn_KvGetNum},
|
{"KvGetNum", smn_KvGetNum},
|
||||||
{"KvGetFloat", smn_KvGetFloat},
|
{"KvGetFloat", smn_KvGetFloat},
|
||||||
{"KvGetColor", smn_KvGetColor},
|
{"KvGetColor", smn_KvGetColor},
|
||||||
{"KvGetUint64", smn_KvGetUint64},
|
{"KvGetUInt64", smn_KvGetUInt64},
|
||||||
{"CreateKeyValues", smn_CreateKeyValues},
|
{"CreateKeyValues", smn_CreateKeyValues},
|
||||||
{"KvJumpToKey", smn_KvJumpToKey},
|
{"KvJumpToKey", smn_KvJumpToKey},
|
||||||
{"KvGotoNextKey", smn_KvGotoNextKey},
|
{"KvGotoNextKey", smn_KvGotoNextKey},
|
||||||
|
@ -76,7 +76,7 @@ native KvSetNum(Handle:kv, const String:key[], value);
|
|||||||
* @noreturn
|
* @noreturn
|
||||||
* @error Invalid Handle.
|
* @error Invalid Handle.
|
||||||
*/
|
*/
|
||||||
native KvSetUint64(Handle:kv, const String:key[], const value[2]);
|
native KvSetUInt64(Handle:kv, const String:key[], const value[2]);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets a floating point value of a KeyValues key.
|
* Sets a floating point value of a KeyValues key.
|
||||||
@ -162,7 +162,7 @@ native KvGetColor(Handle:kv, const String:key[], &r, &g, &b, &a);
|
|||||||
* @noreturn
|
* @noreturn
|
||||||
* @error Invalid Handle.
|
* @error Invalid Handle.
|
||||||
*/
|
*/
|
||||||
native KvGetUint64(Handle:kv, const String:key[], value[2], defvalue[2]={0,0});
|
native KvGetUInt64(Handle:kv, const String:key[], value[2], defvalue[2]={0,0});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the current position in the KeyValues tree to the given key.
|
* Sets the current position in the KeyValues tree to the given key.
|
||||||
|
Loading…
Reference in New Issue
Block a user