HomeSort by: relevance | last modified time | path
    Searched defs:raw_state (Results 1 - 4 of 4) sorted by relevancy

  /src/external/bsd/lutok/dist/
c_gate_test.cpp 41 lua_State* raw_state = luaL_newstate(); local
42 ATF_REQUIRE(raw_state != NULL);
45 lutok::state state = lutok::state_c_gate::connect(raw_state);
50 ATF_REQUIRE_EQ(123, lua_tointeger(raw_state, -1));
52 lua_close(raw_state);
63 lua_State* raw_state = gate.c_state(); local
64 ATF_REQUIRE_EQ(5, lua_tointeger(raw_state, -1));
exceptions.cpp 83 lua_State* raw_state = lutok::state_c_gate(state_).c_state(); local
85 assert(lua_isstring(raw_state, -1));
86 const std::string message = lua_tostring(raw_state, -1);
87 lua_pop(raw_state, 1);
debug.cpp 69 lua_State* raw_state = state_c_gate(s).c_state(); local
71 if (lua_getinfo(raw_state, what_.c_str(), &_pimpl->lua_debug) == 0)
83 lua_State* raw_state = state_c_gate(s).c_state(); local
85 lua_getstack(raw_state, level, &_pimpl->lua_debug);
state.cpp 134 /// \param raw_state The raw Lua state.
140 lua_State* raw_state) throw()
145 lutok::state state = lutok::state_c_gate::connect(raw_state);
158 return luaL_error(raw_state, "%s", error_buf);
170 /// \param raw_state The Lua C API state.
174 cxx_closure_trampoline(lua_State* raw_state)
176 lutok::state state = lutok::state_c_gate::connect(raw_state);
181 lua_getstack(raw_state, 0, &debug);
182 lua_getinfo(raw_state, "u", &debug);
188 return call_cxx_function_from_c(*function, raw_state);
889 lutok::state::raw_state(void) function in class:lutok::state
    [all...]

Completed in 24 milliseconds