Nicolas Cannasse 19 年之前
父节点
当前提交
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);
+
+}