Adding public C function replacement for lua_pcall