瀏覽代碼

added println

Nicolas Cannasse 19 年之前
父節點
當前提交
84a4d52337
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      std/neko/Lib.hx

+ 4 - 0
std/neko/Lib.hx

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