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:
15
module/Library/Job.cpp
Normal file
15
module/Library/Job.cpp
Normal 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
11
module/Library/Job.hpp
Normal file
@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
#include "Base/Shared.hpp"
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
namespace SqMod {
|
||||
|
||||
|
||||
|
||||
} // Namespace:: SqMod
|
Reference in New Issue
Block a user