/// <summary> /// Register a function in the coroutine table. </summary> private static void c(Lua L, string name, int which) { BaseLib f = new BaseLib(which); L.setField(L.getGlobal("coroutine"), name, f); }
/// <summary> /// Register a function. </summary> private static void r(Lua L, string name, int which) { BaseLib f = new BaseLib(which); L.setGlobal(name, f); }