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