mirror of
				https://github.com/VCMP-SqMod/SqMod.git
				synced 2025-11-04 08:17:19 +01:00 
			
		
		
		
	Remove functions that check character class from the shared code.
Expose the remaining floating point comparison functions.
This commit is contained in:
		@@ -1011,23 +1011,14 @@ Color3 GetColor(CSStr name)
 | 
			
		||||
void Register_Base(HSQUIRRELVM vm)
 | 
			
		||||
{
 | 
			
		||||
    RootTable(vm)
 | 
			
		||||
    .Func(_SC("EpsEqI"), &EpsEq<SQInteger>)
 | 
			
		||||
    .Func(_SC("EpsEqF"), &EpsEq<SQFloat>)
 | 
			
		||||
    .Func(_SC("EpsEq"), &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("ClampF"), &Clamp<SQFloat>)
 | 
			
		||||
    .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("GetColor"), &GetColor);
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user