Browse Source

added println

Nicolas Cannasse 19 years ago
parent
commit
84a4d52337
1 changed files with 4 additions and 0 deletions
  1. 4 0
      std/neko/Lib.hx

+ 4 - 0
std/neko/Lib.hx

@@ -34,6 +34,10 @@ class Lib {
 		untyped __dollar__print(v);
 	}
 
+	public static function println( v : Dynamic ) : Void {
+		untyped __dollar__print(v,"\n");
+	}
+
 	public static function rethrow( e : Dynamic ) : Void {
 		untyped __dollar__rethrow(e);
 	}