Tao.Lua.Lua.lua_register C# (CSharp) 메소드

lua_register() 공개 정적인 메소드

Sets the C function f as the new value of global name.
public static lua_register ( lua_State L, string n, lua_CFunction f ) : void
L lua_State
n string
f lua_CFunction
리턴 void
        public static void lua_register(lua_State L, string n, lua_CFunction f)
        {
            lua_pushcfunction(L, f);
            lua_setglobal(L, n);
        }
Lua