Преглед на файлове

[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