Project/06 - External/KopiLuaInterface/src/Lua.cs
/// <summary>
/// Register a new Lua reference and the associated C# object
/// </summary>
Register a new Lua reference and the associated C# object
Register a new Lua reference and the associated C# object
public void AddLuaRef(int luaRef, object csObject)
        {
            CollectGarbage();
            _luaRefToCsObj[luaRef] = new WeakReference(csObject);
        }
public void AddLuaRef ( int luaRef , object csObject ) { CollectGarbage ( ) ; _luaRefToCsObj [ luaRef ] = new WeakReference ( csObject ) ; }
Register a new Lua reference and the associated C# object
Register a new Lua reference and the associated C# object
luaRef
int
csObject
object