- renamed sqmodule_api.h/.cpp to module_api - moved defines for sq_* functions into squirrel_api.h - renamed SqModule::inti to SQModule::Init - moved all of the files to "api" subfolder
10 lines
169 B
C++
10 lines
169 B
C++
#include "pch.h"
|
|
|
|
extern "C" SQRESULT SQRAT_API sqmodule_load(HSQUIRRELVM vm, HSQAPI api)
|
|
{
|
|
SqModule::Initalize(vm, api);
|
|
Sqrat::DefaultVM::Set(vm);
|
|
|
|
return SQ_OK;
|
|
}
|