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