Various changes to the modules.

Also commited the remaining incomplete modules.
This commit is contained in:
Sandu Liviu Catalin committed 2016-05-22 22:34:27 +03:00
1 parent f2361a27c3
commit 40a2ba46f5
76 files changed
+21289 -98

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ void DocumentRef::Validate() const
// ------------------------------------------------------------------------------------------------
SQInteger IniResult::Typename(HSQUIRRELVM vm)
{
static SQChar name[] = _SC("SqIniResult");
static const SQChar name[] = _SC("SqIniResult");
sq_pushstring(vm, name, sizeof(name));
return 1;
}
+1 -1
View File
@@ -15,7 +15,7 @@ namespace SqMod {
// ------------------------------------------------------------------------------------------------
SQInteger Document::Typename(HSQUIRRELVM vm)
{
static SQChar name[] = _SC("SqIniDocument");
static const SQChar name[] = _SC("SqIniDocument");
sq_pushstring(vm, name, sizeof(name));
return 1;
}
+1 -1
View File
@@ -8,7 +8,7 @@ namespace SqMod {
// ------------------------------------------------------------------------------------------------
SQInteger Entries::Typename(HSQUIRRELVM vm)
{
static SQChar name[] = _SC("SqIniEntries");
static const SQChar name[] = _SC("SqIniEntries");
sq_pushstring(vm, name, sizeof(name));
return 1;
}
+1 -1
View File
@@ -96,7 +96,7 @@ void OnSquirrelLoad()
void OnSquirrelTerminate()
{
OutputMessage("Terminating: %s", SQINI_NAME);
// Release the current database (if any)
// Release the current virtual machine, if any
DefaultVM::Set(nullptr);
}