mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Include the routines and tasks limits into the registered constants.
This commit is contained in:
parent
2f27188b52
commit
bf065d4f3a
@ -1140,6 +1140,8 @@ void Register_Constants(HSQUIRRELVM vm)
|
||||
.Const(_SC("Infinity"), static_cast< float >(INFINITY))
|
||||
.Const(_SC("Inf"), static_cast< float >(INFINITY))
|
||||
.Const(_SC("Nan"), static_cast< float >(NAN))
|
||||
.Const(_SC("MaxTasks"), SQMOD_MAX_TASKS)
|
||||
.Const(_SC("MaxRoutines"), SQMOD_MAX_ROUTINES)
|
||||
);
|
||||
|
||||
RegisterEnum(vm, _SC("SqArchitectre"), g_ArchitectureEnum, SQENUMCOUNT(g_ArchitectureEnum));
|
||||
|
Loading…
Reference in New Issue
Block a user