|
| Lua () |
|
| Lua (lua_State *L) |
|
| Lua (Lua &&oL) noexcept |
|
| Lua (const Lua &oL) |
|
Lua & | operator= (Lua &&oL) noexcept |
|
void | close () |
|
lua_State * | getState () |
|
int | getTop () |
|
void | setTop (int idx) |
|
void | pop (int n=1) |
|
void | clearStack () |
|
void | remove (int idx) |
|
void | insert (int idx) |
|
void | replace (int idx) |
|
void | copy (int fromidx, int toidx) |
|
void | copy (int fromidx) |
|
void | checkStack (int sz, const char *msg=nullptr) |
|
int | getabsolute (int index) |
|
void | push () |
|
void | push (bool b) |
|
void | pushNumber (lua_Number n) |
|
void | push (std::nullptr_t) |
|
void | push (const char *s, size_t len) |
|
template<size_t S> |
void | push (const char(&s)[S]) |
|
void | push (eastl::string_view s) |
|
void | vpushf (const char *fmt, va_list ap) |
|
void | pushf (const char *fmt,...) |
|
void | push (lua_CFunction f, int closure=0) |
|
void | push (lua_CPPFunction f) |
|
void | push (void *p) |
|
void | pushGlobalTable () |
|
void | push (FixedPoint<> fp) |
|
FixedPoint | toFixedPoint (int idx) |
|
bool | isFixedPoint (int idx) |
|
FixedPoint | checkFixedPoint (int idx) |
|
FixedPoint | optFixedPoint (int idx, FixedPoint<> def={}) |
|
bool | toBoolean (int idx) |
|
lua_Number | toNumber (int idx, bool *isnum=nullptr) |
|
const char * | toString (int idx, size_t *len=nullptr) |
|
size_t | rawLen (int idx) |
|
lua_CFunction | toCFunction (int idx) |
|
template<typename T = void> |
T * | toUserdata (int idx) |
|
lua_State * | toThread (int idx) |
|
const void * | toPointer (int idx) |
|
int | type (int idx) |
|
const char * | typeName (int tp) |
|
bool | isNil (int idx) |
|
bool | isNone (int idx) |
|
bool | isNoneOrNil (int idx) |
|
bool | isBoolean (int idx) |
|
bool | isNumber (int idx) |
|
bool | isString (int idx) |
|
bool | isTable (int idx) |
|
bool | isFunction (int idx) |
|
bool | isCFunction (int idx) |
|
bool | isUserdata (int idx) |
|
bool | isLightUserdata (int idx) |
|
bool | isThread (int idx) |
|
void | newTable () |
|
void | createTable (int narr, int nrec) |
|
void | getTable (int idx) |
|
void | getField (int idx, const char *k) |
|
void | getGlobal (const char *name) |
|
void | setTable (int idx) |
|
void | setField (int idx, const char *k) |
|
void | setGlobal (const char *name) |
|
void | rawGet (int idx) |
|
void | rawGetI (int idx, int n) |
|
void | rawGetP (int idx, const void *p) |
|
void | rawSet (int idx) |
|
void | rawSetI (int idx, int n) |
|
void | rawSetP (int idx, const void *p) |
|
int | next (int idx) |
|
int | newMetatable (const char *tname) |
|
void | getMetatable (const char *tname) |
|
int | getMetatable (int objindex) |
|
int | setMetatable (int objindex) |
|
void | call (int nargs, int nresults=LUA_MULTRET) |
|
int | pcall (int nargs, int nresults=LUA_MULTRET) |
|
int | loadBuffer (const char *buff, size_t sz, const char *chunkname=nullptr) |
|
template<size_t S> |
int | loadBuffer (const char(&buff)[S], const char *chunkname=nullptr) |
|
void * | newUserdata (size_t sz) |
|
int | ref (int t=LUA_REGISTRYINDEX) |
|
void | unref (int t, int ref) |
|
int | gc (int what, int data=0) |
|
int | error (const char *fmt,...) |
|
int | argError (int narg, const char *extramsg) |
|
void | checkType (int narg, int t) |
|
void | checkAny (int narg) |
|
lua_Number | checkNumber (int narg) |
|
lua_Number | optNumber (int narg, lua_Number def) |
|
const char * | checkString (int narg) |
|
const char * | optString (int narg, const char *def) |
|
const char * | checkLString (int narg, size_t *len) |
|
const char * | optLString (int narg, const char *def, size_t *len) |
|
void * | checkUdata (int narg, const char *tname) |
|
void | argCheck (bool cond, int narg, const char *extramsg) |
|
int | checkOption (int narg, const char *def, const char *const lst[]) |
|
bool | checkBoolean (int narg) |
|
bool | optBoolean (int narg, bool def) |
|
int | getStack (int level, lua_Debug *ar) |
|
int | getInfo (const char *what, lua_Debug *ar) |
|
const char * | getLocal (const lua_Debug *ar, int n) |
|
const char * | setLocal (const lua_Debug *ar, int n) |
|
int | yield (int nresults) |
|
int | resume (Lua from, int narg) |
|
int | status () |
|