Searched refs:m_lua_state (Results 1 - 2 of 2) sorted by relevance
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Lua/ |
H A D | Lua.h | 28 Lua() : m_lua_state(luaL_newstate()) { 29 assert(m_lua_state); 30 luaL_openlibs(m_lua_state); 31 luaopen_lldb(m_lua_state); 35 assert(m_lua_state); 36 luaL_openlibs(m_lua_state); 43 lua_State *m_lua_state; member in class:lldb_private::Lua
|
H A D | Lua.cpp | 19 luaL_loadbuffer(m_lua_state, buffer.data(), buffer.size(), "buffer") || 20 lua_pcall(m_lua_state, 0, 0, 0); 25 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), 28 lua_pop(m_lua_state, 1); 45 int error = luaL_loadfile(m_lua_state, filename.data()) || 46 lua_pcall(m_lua_state, 0, 1, 0); 49 llvm::formatv("{0}\n", lua_tostring(m_lua_state, -1)), 52 lua_pop(m_lua_state, 1); 57 lua_setglobal(m_lua_state, module_name.GetCString());
|
Completed in 100 milliseconds