2
0
Nicolas Cannasse 19 жил өмнө
parent
commit
dc583419ce
1 өөрчлөгдсөн 11 нэмэгдсэн , 0 устгасан
  1. 11 0
      std/neko/File.hx

+ 11 - 0
std/neko/File.hx

@@ -0,0 +1,11 @@
+package neko;
+
+class File {
+
+	public static function getContent( filename : String ) {
+		return new String(_content(untyped filename.__s));
+	}
+
+	private static var _content = Lib.load("std","file_contents",1);
+
+}