mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Routine count.
Routine instance rename.
This commit is contained in:
parent
038a0a5d5f
commit
831f25a323
@ -11,7 +11,7 @@
|
||||
namespace SqMod {
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
SQMODE_DECL_TYPENAME(Typename, _SC("SqRoutineBase"))
|
||||
SQMODE_DECL_TYPENAME(Typename, _SC("SqRoutineInstance"))
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
Routine::Time Routine::s_Last = 0;
|
||||
@ -348,6 +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)
|
||||
);
|
||||
// Global functions
|
||||
RootTable(vm).SquirrelFunc(_SC("SqRoutine"), &Routine::Create);
|
||||
|
Loading…
Reference in New Issue
Block a user