Ownership of one interpreter for as long as the object lives.
More...
#include <lua_state.hpp>
|
|
| Lock (Lock &&other) noexcept |
|
auto | operator= (Lock &&other) noexcept -> Lock & |
|
| Lock (const Lock &)=delete |
|
auto | operator= (const Lock &) -> Lock &=delete |
|
| operator bool () const noexcept |
|
auto | state () const noexcept -> lua_State * |
|
auto | index () const noexcept -> size_t |
|
void | unlock () noexcept |
| | Gives the interpreter back before the end of the scope.
|
Ownership of one interpreter for as long as the object lives.
The documentation for this class was generated from the following files:
- engine/src/toast/scripting/lua_state.hpp
- engine/src/toast/scripting/lua_state.cpp