Преглед изворни кода

[lua] Lua.setmetatable returns a table

Justin Donaldson пре 8 година
родитељ
комит
55250b2d71
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      std/lua/Lua.hx

+ 1 - 1
std/lua/Lua.hx

@@ -26,7 +26,7 @@ extern class Lua {
 		Pops a table from the stack and sets it as the new metatable for the value
 		at the given acceptable index.
 	**/
-	public static function setmetatable(tbl:Table<Dynamic,Dynamic>, mtbl: Table<Dynamic, Dynamic>): Void;
+	public static function setmetatable(tbl:Table<Dynamic,Dynamic>, mtbl: Table<Dynamic, Dynamic>): Table<Dynamic, Dynamic>;
 
 	/**
 		Pops a table from the stack and sets it as the new environment for the value