Tao.Lua SDK Documentation

Lua.luaL_unref Method 

Releases reference ref from the table at index t (see luaL_ref). The entry is removed from the table, so that the referred object can be collected. The reference ref is also freed to be used again.

[Visual Basic]
Public Shared Sub luaL_unref( _
   ByVal L As IntPtr, _
   ByVal t As Integer, _
   ByVal rf As Integer _
)
[C#]
public static void luaL_unref(
   IntPtr L,
   int t,
   int rf
);

Parameters

L
t
rf
If rf is LUA_NOREF or LUA_REFNIL, luaL_unref does nothing.

See Also

Lua Class | Tao.Lua Namespace