浏览代码

added getClasses

Nicolas Cannasse 19 年之前
父节点
当前提交
94193e0375
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      std/neko/Lib.hx

+ 4 - 0
std/neko/Lib.hx

@@ -164,6 +164,10 @@ class Lib {
 			throw "Can't convert "+string(v);
 		}
 	}
+	
+	public static function getClasses() : Dynamic {
+		return untyped neko.Boot.__classes;
+	}
 
 	static var __serialize = load("std","serialize",1);
 	static var __unserialize = load("std","unserialize",2);