Represents a constant value from the Lua library.
More...
#include <ugdk/script/languages/lua/header.h>
Represents a constant value from the Lua library.
template<typename Callable >
ugdk::script::lua::Constant::Constant |
( |
Callable |
c | ) |
|
|
inlineexplicit |
Constructs a Lua constant frm the result of a call to c.
- Parameters
-
c | - A callable object which must return int when called with zero arguments. |
ugdk::script::lua::Constant::operator int |
( |
| ) |
const |
|
inline |
bool ugdk::script::lua::Constant::operator!= |
( |
const Constant & |
st | ) |
const |
|
inline |
bool ugdk::script::lua::Constant::operator== |
( |
const Constant & |
st | ) |
const |
|
inline |
int ugdk::script::lua::Constant::value |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file:
- modules/ugdk-script/include/ugdk/script/languages/lua/header.h