Garry's Mod Wiki

Revision Difference

debug.upvaluejoin#549041

<function name="upvaluejoin" parent="debug" type="libraryfunc"> <description> <removed>This function was removed due to security concerns.</removed> ⤶ Make the n1-th upvalue of the Lua closure f1 refer to the n2-th upvalue of the Lua closure f2. Make the n1-th upvalue of the Lua closure f1 refer to the n2-th upvalue of the Lua closure f2.⤶ </description> <realm>Shared and Menu</realm> <args> <arg name="f1" type="function"></arg> <arg name="n1" type="number"></arg> <arg name="f2" type="function"></arg> <arg name="n2" type="number"></arg> </args> </function>