1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-16 07:07:13 +02:00

Separate jobs from workers.

This commit is contained in:
Sandu Liviu Catalin
2020-09-06 21:35:04 +03:00
parent 97fe1101e3
commit 31af9efe94
4 changed files with 29 additions and 0 deletions

15
module/Library/Job.cpp Normal file
View File

@ -0,0 +1,15 @@
// ------------------------------------------------------------------------------------------------
#include "Library/Job.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
// ================================================================================================
void Register_Job(HSQUIRRELVM vm)
{
Table jbns(vm);
RootTable(vm).Bind(_SC("SqJob"), jbns);
}
} // Namespace:: SqMod

11
module/Library/Job.hpp Normal file
View File

@ -0,0 +1,11 @@
#pragma once
// ------------------------------------------------------------------------------------------------
#include "Base/Shared.hpp"
// ------------------------------------------------------------------------------------------------
namespace SqMod {
} // Namespace:: SqMod