mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Remove functions that check character class from the shared code.
Expose the remaining floating point comparison functions.
This commit is contained in:
parent
484b6978fb
commit
ab3edcfe4d
@ -1011,23 +1011,14 @@ Color3 GetColor(CSStr name)
|
|||||||
void Register_Base(HSQUIRRELVM vm)
|
void Register_Base(HSQUIRRELVM vm)
|
||||||
{
|
{
|
||||||
RootTable(vm)
|
RootTable(vm)
|
||||||
.Func(_SC("EpsEqI"), &EpsEq<SQInteger>)
|
.Func(_SC("EpsEq"), &EpsEq<SQFloat>)
|
||||||
.Func(_SC("EpsEqF"), &EpsEq<SQFloat>)
|
.Func(_SC("EpsLt"), &EpsLt<SQFloat>)
|
||||||
|
.Func(_SC("EpsGt"), &EpsGt<SQFloat>)
|
||||||
|
.Func(_SC("EpsLtEq"), &EpsLtEq<SQFloat>)
|
||||||
|
.Func(_SC("EpsGtEq"), &EpsGtEq<SQFloat>)
|
||||||
.Func(_SC("ClampI"), &Clamp<SQInteger>)
|
.Func(_SC("ClampI"), &Clamp<SQInteger>)
|
||||||
.Func(_SC("ClampF"), &Clamp<SQFloat>)
|
.Func(_SC("ClampF"), &Clamp<SQFloat>)
|
||||||
.Func(_SC("NextPow2"), &NextPow2)
|
.Func(_SC("NextPow2"), &NextPow2)
|
||||||
.Func(_SC("IsSpace"), &isspace)
|
|
||||||
.Func(_SC("IsPrint"), &isprint)
|
|
||||||
.Func(_SC("IsCntrl"), &iscntrl)
|
|
||||||
.Func(_SC("IsUpper"), &isupper)
|
|
||||||
.Func(_SC("IsLower"), &islower)
|
|
||||||
.Func(_SC("IsAlpha"), &isalpha)
|
|
||||||
.Func(_SC("IsDigit"), &isdigit)
|
|
||||||
.Func(_SC("IsPunct"), &ispunct)
|
|
||||||
.Func(_SC("IsXdigit"), &isxdigit)
|
|
||||||
.Func(_SC("IsAlnum"), &isalnum)
|
|
||||||
.Func(_SC("IsGraph"), &isgraph)
|
|
||||||
.Func(_SC("IsBlank"), &isblank)
|
|
||||||
.Func(_SC("SToB"), &SToB)
|
.Func(_SC("SToB"), &SToB)
|
||||||
.Func(_SC("GetColor"), &GetColor);
|
.Func(_SC("GetColor"), &GetColor);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user