1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-02-21 20:27:13 +01:00

Fix duplicate member name in system property class. Also adjust several names to prevent possible collisions like this in the future.

This commit is contained in:
Sandu Liviu Catalin 2016-09-04 00:46:12 +03:00
parent e445530bbb
commit 8dacace7ae

View File

@ -1724,11 +1724,14 @@ void Register_SysPath(HSQUIRRELVM vm)
.Func(_SC("_tostring"), &SysPath::ToString)
// Properties
.Prop(_SC("String"), &SysPath::ToString, &SysPath::FromString)
.Prop(_SC("Absolute"), &SysPath::IsAbsolute)
.Prop(_SC("Relative"), &SysPath::IsRelative)
.Prop(_SC("Directory"), &SysPath::IsDirectory)
.Prop(_SC("File"), &SysPath::IsFile)
.Prop(_SC("Empty"), &SysPath::Empty)
.Prop(_SC("IsAbs"), &SysPath::IsAbsolute)
.Prop(_SC("IsAbsolute"), &SysPath::IsAbsolute)
.Prop(_SC("IsRel"), &SysPath::IsRelative)
.Prop(_SC("IsRelative"), &SysPath::IsRelative)
.Prop(_SC("IsDir"), &SysPath::IsDirectory)
.Prop(_SC("IsDirectory"), &SysPath::IsDirectory)
.Prop(_SC("IsFile"), &SysPath::IsFile)
.Prop(_SC("IsEmpty"), &SysPath::Empty)
.Prop(_SC("Drive"), &SysPath::GetDrive, &SysPath::SetDrive)
.Prop(_SC("Depth"), &SysPath::Depth)
.Prop(_SC("Filename"), &SysPath::GetFilename, &SysPath::SqSetFilename)