2
0
Эх сурвалжийг харах

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

Nicolas Cannasse 9 жил өмнө
parent
commit
aab4134e8e

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

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

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

@@ -132,7 +132,7 @@ class Output {
 
 		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));
 	}