Nicolas Cannasse hace 19 años
padre
commit
dc583419ce
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  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);
+
+}