summaryrefslogtreecommitdiff
path: root/source/modules/asura-utils/utils_module.cpp
blob: 5616be42c1cce2ff84351df345025b8762f366f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "utils_module.h"

using namespace AsuraEngine::IO;
using namespace AsuraEngine::Threading;

namespace AsuraEngine
{

	void UtilsModule::Initialize(Luax::LuaxState& state)
	{
		// IO 
		LUAX_REGISTER_SINGLETON(state, Filesystem);
		LUAX_REGISTER_FACTORY(state, IOTask);
		LUAX_REGISTER_FACTORY(state, DataBuffer);
		LUAX_REGISTER_FACTORY(state, FileData);
		LUAX_REGISTER_FACTORY(state, File);
		// Threading
		LUAX_REGISTER_FACTORY(state, Thread);
	}

	void UtilsModule::Finalize(Luax::LuaxState& state)
	{
	}

}