Added numtostr and strtonum mappings... not adding this to string.inc ... but it's there now. :-P

This commit is contained in:
Johnny Bergström 2005-04-19 15:40:21 +00:00
parent 7c6d869cb4
commit ebf0945c6e

View File

@ -656,6 +656,7 @@ AMX_NATIVE_INFO string_Natives[] = {
{ "isspace", is_space }, { "isspace", is_space },
{ "isalpha", is_alpha }, { "isalpha", is_alpha },
{ "num_to_str", numtostr }, { "num_to_str", numtostr },
{ "numtostr", numtostr },
{ "parse", parse }, { "parse", parse },
{ "replace", replace }, { "replace", replace },
{ "setc", setc }, { "setc", setc },
@ -663,6 +664,7 @@ AMX_NATIVE_INFO string_Natives[] = {
{ "strtolower", strtolower }, { "strtolower", strtolower },
{ "strtoupper", strtoupper }, { "strtoupper", strtoupper },
{ "str_to_num", strtonum }, { "str_to_num", strtonum },
{ "strtonum", strtonum },
{ "trim", amx_trim }, { "trim", amx_trim },
{ "ucfirst", amx_ucfirst }, { "ucfirst", amx_ucfirst },
{ "strtok", amx_strtok }, { "strtok", amx_strtok },