Explorar el Código

Added a Typeof to Main to stop linker stripping.

Mark Sibly hace 9 años
padre
commit
fc2a4115f9
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  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 )