Explorar el Código

make EntryPoint.run dynamic (allow redefinition without redefining the whole class)

ncannasse hace 7 años
padre
commit
ed1f601484
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      std/haxe/EntryPoint.hx

+ 1 - 1
std/haxe/EntryPoint.hx

@@ -109,7 +109,7 @@ class EntryPoint {
 	/**
 		Start the main loop. Depending on the platform, this can return immediately or will only return when the application exits.
 	**/
-	@:keep public static function run() @:privateAccess {
+	@:keep public dynamic static function run() @:privateAccess {
 		#if js
 
 		var nextTick = processEvents();