lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I registered a C function in Lua using
lua_pushstring("fn");
lua_pushcfunction(fn);
lua_settable(L,LUA_GLOBALSINDEX);


how i can do the reverse , i.e. remove the function from lua environment

-Abhinav