Prechádzať zdrojové kódy

remove target-specific FilePath functions

Aurel Bílý 5 rokov pred
rodič
commit
e827e8f711
1 zmenil súbory, kde vykonal 0 pridanie a 18 odobranie
  1. 0 18
      std/haxe/io/FilePath.hx

+ 0 - 18
std/haxe/io/FilePath.hx

@@ -30,22 +30,4 @@ abstract FilePath(String) from String {
 
 	private function get_raw():String
 		return this;
-
-	#if hl
-	private function decodeNative():hl.Bytes {
-		return @:privateAccess this.toUtf8();
-	}
-
-	private static function encodeNative(data:hl.Bytes):FilePath {
-		return ((@:privateAccess String.fromUCS2(data)) : FilePath);
-	}
-	#elseif neko
-	private function decodeNative():neko.NativeString {
-		return neko.NativeString.ofString(this);
-	}
-
-	private static function encodeNative(data:neko.NativeString):FilePath {
-		return (neko.NativeString.toString(data) : FilePath);
-	}
-	#end
 }