1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-01-31 09:57:14 +01:00

Rename function to avoid potential confusion.

`Active` may be confused with routines that aren't in a `Paused` state.
This commit is contained in:
Sandu Liviu Catalin 2020-04-03 00:29:17 +03:00
parent 831f25a323
commit 7030628f77

View File

@ -348,7 +348,7 @@ void Register_Routine(HSQUIRRELVM vm)
.Func(_SC("Terminate"), &Routine::Terminate)
.Func(_SC("GetArgument"), &Routine::GetArgument)
.Func(_SC("DropEnv"), &Routine::DropEnv)
.StaticFunc(_SC("ActiveCount"), &Routine::GetUsed)
.StaticFunc(_SC("UsedCount"), &Routine::GetUsed)
);
// Global functions
RootTable(vm).SquirrelFunc(_SC("SqRoutine"), &Routine::Create);