Browse Source

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

ncannasse 7 years ago
parent
commit
ed1f601484
1 changed files with 1 additions and 1 deletions
  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();