1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-15 22:57:12 +02:00

Minor aditions to the system path library.

Fixed small const correctness in remaining typename functions.
Added a flag to block certain format warnings on x64 builds.
This commit is contained in:
Sandu Liviu Catalin
2016-05-23 03:34:35 +03:00
parent 49a9983799
commit fdd06e8c2e
8 changed files with 68 additions and 8 deletions

View File

@ -16,7 +16,7 @@ const Uint8 Date::MonthLengths[12] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 3
// ------------------------------------------------------------------------------------------------
SQInteger Date::Typename(HSQUIRRELVM vm)
{
static SQChar name[] = _SC("SqChronoDate");
static const SQChar name[] = _SC("SqChronoDate");
sq_pushstring(vm, name, sizeof(name));
return 1;
}