SimpleFastOpenAtomicVisualiser
|
Interop for booleans Lua. More...
#include <LuaBool.h>
Public Member Functions | |
LuaBool () | |
Construct a false. | |
void | read (lua_State *lua, int index) |
Read the bool from stack index index. | |
bool | readField (lua_State *lua, const char *name) |
Read the bool from a table field. | |
bool | readGlobal (lua_State *lua, const char *name) |
Read the bool from a global table field. | |
bool | operator== (const bool &rhs) |
operator bool () | |
Public Attributes | |
bool | bit |
Interop for booleans Lua.
|
inline |
Construct a false.
|
inline |
Read the bool from stack index index.
lua | the Lua context. |
index | the stack index. |
Read the bool from a table field.
lua | the Lua context. |
name | the field name. |
Read the bool from a global table field.
lua | the Lua context. |
name | the field name. |
bool LuaBool::bit |