소스 검색

added makeString

Nicolas Cannasse 19 년 전
부모
커밋
b5bca22730
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      std/neko/Lib.hx

+ 4 - 0
std/neko/Lib.hx

@@ -46,6 +46,10 @@ class Lib {
 		return untyped __unserialize(s.__s,__dollar__loader);
 	}
 
+	public static function makeString( size : Int ) : String {
+		return new String(untyped __dollar__smake(size));
+	}
+
 	static var __serialize = load("std","serialize",1);
 	static var __unserialize = load("std","unserialize",2);