1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-08-05 07:31:48 +02:00

Fix issue with modules not registering their API.

This commit is contained in:
Sandu Liviu Catalin
2016-07-17 03:47:38 +03:00
parent 66d1110733
commit 9874bbe1dc
7 changed files with 31 additions and 30 deletions

View File

@@ -30,7 +30,7 @@ static bool RegisterAPI()
return false;
}
Table sqlns;
Table sqlns(DefaultVM::Get());
Register_Constants(sqlns);
Register_Common(sqlns);
@@ -40,7 +40,7 @@ static bool RegisterAPI()
Register_Column(sqlns);
Register_Transaction(sqlns);
RootTable().Bind(_SC("SQLite"), sqlns);
RootTable(DefaultVM::Get()).Bind(_SC("SQLite"), sqlns);
// Registration was successful
return true;