Browse Source

Added a Typeof to Main to stop linker stripping.

Mark Sibly 9 năm trước cách đây
mục cha
commit
fc2a4115f9
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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 )