Quellcode durchsuchen

no inline on haxe.io base classes (they should be overridable)

Nicolas Cannasse vor 9 Jahren
Ursprung
Commit
aab4134e8e
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      std/haxe/io/Input.hx
  2. 1 1
      std/haxe/io/Output.hx

+ 1 - 1
std/haxe/io/Input.hx

@@ -193,7 +193,7 @@ class Input {
 
 
 		Endianness is specified by the `bigEndian` property.
 		Endianness is specified by the `bigEndian` property.
 	**/
 	**/
-	public #if !(flash || python) inline #end function readFloat() : Float {
+	public function readFloat() : Float {
 		return FPHelper.i32ToFloat(readInt32());
 		return FPHelper.i32ToFloat(readInt32());
 	}
 	}
 
 

+ 1 - 1
std/haxe/io/Output.hx

@@ -132,7 +132,7 @@ class Output {
 
 
 		Endianness is specified by the `bigEndian` property.
 		Endianness is specified by the `bigEndian` property.
 	**/
 	**/
-	public #if !(flash || python) inline #end function writeFloat( x : Float ) {
+	public function writeFloat( x : Float ) {
 		writeInt32(FPHelper.floatToI32(x));
 		writeInt32(FPHelper.floatToI32(x));
 	}
 	}