Fix issue with modules not registering their API.

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

No files matched your search

+2 -2
View File
@@ -27,14 +27,14 @@ static bool RegisterAPI()
return false;
}
Table sqlns;
Table sqlns(DefaultVM::Get());
Register_Account(sqlns);
Register_Connection(sqlns);
Register_ResultSet(sqlns);
Register_Statement(sqlns);
RootTable().Bind(_SC("SqMySQL"), sqlns);
RootTable(DefaultVM::Get()).Bind(_SC("SqMySQL"), sqlns);
// Registration was successful
return true;