Lines Matching refs:L
24 lua_close(sc->L); in script_free()
81 int rc = luaL_loadbuffer(sc->L, buf, (size_t)sz, sc->name.ptr); in script_cache_load_script()
86 return sc->L; in script_cache_load_script()
89 force_assert(lua_isfunction(sc->L, -1)); in script_cache_load_script()
90 return sc->L; in script_cache_load_script()
105 sc->L = luaL_newstate(); in __attribute_nonnull__()
106 luaL_openlibs(sc->L); in __attribute_nonnull__()
122 if (lua_gettop(sc->L) == 0) in script_cache_check_script()
130 lua_settop(sc->L, 0); /* pop the old function; clear stack */ in script_cache_check_script()
137 return sc->L; in script_cache_check_script()
139 lua_settop(sc->L, 0); /* pop the old function; clear stack */ in script_cache_check_script()
143 return sc->L; in script_cache_check_script()