Lines Matching refs:state
34 #include <lutok/state.ipp>
43 // Initializes a new Lua state. Every Lua state is independent from each
45 lutok::state state;
47 // Loads the standard library into the Lua state. Among many other
49 state.open_base();
52 // and then proceeds to execute it within the Lua state.
53 state.get_global("print");
54 state.push_string("Hello, world!");
55 state.pcall(1, 0, 0);