|
@@ -29,6 +29,20 @@ package java;
|
|
|
@:native('haxe.java.Lib') class Lib
|
|
|
{
|
|
|
|
|
|
+ /**
|
|
|
+ Print the specified value on the default output.
|
|
|
+ **/
|
|
|
+ inline public static function print( v : Dynamic ) : Void {
|
|
|
+ Sys.print(v);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ Print the specified value on the default output followed by a newline character.
|
|
|
+ **/
|
|
|
+ inline public static function println( v : Dynamic ) : Void {
|
|
|
+ Sys.println(v);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
Returns a native array from the supplied Array. This native array is unsafe to be written on,
|
|
|
as it may or may not be linked to the actual Array implementation.
|