mirror of
				https://github.com/VCMP-SqMod/SqMod.git
				synced 2025-11-04 08:17:19 +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:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user