1
0
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:
Sandu Liviu Catalin 2016-11-17 20:00:14 +02:00
parent 2f27188b52
commit bf065d4f3a

View File

@ -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));