浏览代码

Added a Typeof to Main to stop linker stripping.

Mark Sibly 9 年之前
父节点
当前提交
fc2a4115f9
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      modules/mojo/mojo.monkey2

+ 5 - 0
modules/mojo/mojo.monkey2

@@ -53,8 +53,13 @@ Using mojo..
 
 Private
 
+Function Use( type:TypeInfo )
+End
+
 Function Main()
 
+	Use( Typeof(app.App) )
+
 	Stream.OpenFuncs["font"]=Lambda:Stream( proto:String,path:String,mode:String )
 	
 		Return Stream.Open( "asset::fonts/"+path,mode )