Browse Source

[lua] fixed lua.lib.luv.Check.start signature

Aleksandr Kuzmenko 4 years ago
parent
commit
517d54cba8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/lua/lib/luv/Check.hx

+ 1 - 1
std/lua/lib/luv/Check.hx

@@ -27,6 +27,6 @@ extern class Check extends Handle {
 	static function new_check():Check;
 	static function new_check():Check;
 	@:native("new_check") function new():Void;
 	@:native("new_check") function new():Void;
 
 
-	function start(handle:Handle):Int;
+	function start(cb:()->Void):Int;
 	function stop():Int;
 	function stop():Int;
 }
 }