Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Macros | |
#define | sizestring(s) (sizeof(union TString)+((s)->len+1)*sizeof(char)) |
#define | sizeudata(u) (sizeof(union Udata)+(u)->len) |
#define | luaS_new(L, s) (luaS_newlstr(L, s, strlen(s))) |
#define | luaS_newliteral(L, s) |
#define | luaS_fix(s) l_setbit((s)->tsv.marked, FIXEDBIT) |
Functions | |
LUAI_FUNC void | luaS_resize (lua_State *L, int newsize) |
LUAI_FUNC Udata * | luaS_newudata (lua_State *L, size_t s, Table *e) |
LUAI_FUNC TString * | luaS_newlstr (lua_State *L, const char *str, size_t l) |
Definition at line 24 of file lua-5.1.5/src/lstring.h.
Referenced by f_luaopen(), f_luaopen(), luaT_init(), luaX_init(), and luaX_setinput().
#define luaS_new | ( | L, | |
s ) (luaS_newlstr(L, s, strlen(s))) |
Definition at line 20 of file lua-5.1.5/src/lstring.h.
Referenced by auxgetstr(), auxgetstr(), auxsetstr(), auxsetstr(), breaklabel(), breaklabel(), gotostat(), gotostat(), lua_getfield(), lua_getglobal(), lua_pushlstring(), lua_pushstring(), lua_setfield(), lua_setglobal(), luaT_init(), luaT_objtypename(), luaV_tostring(), luaX_init(), luaX_setinput(), luaY_parser(), luaY_parser(), pushstr(), resume_error(), resume_error(), resume_error(), and resume_error().
#define luaS_newliteral | ( | L, | |
s ) |
Definition at line 21 of file lua-5.1.5/src/lstring.h.
Referenced by adjust_varargs(), breakstat(), combine(), f_luaopen(), f_luaopen(), leaveblock(), luaD_seterrorobj(), luaS_init(), luaU_undump(), luaX_init(), luaX_setinput(), seterrorobj(), seterrorobj(), test_then_block(), and undefgoto().
Definition at line 16 of file lua-5.1.5/src/lstring.h.
Referenced by freeobj(), freeobj(), and reallymarkobject().
#define sizeudata | ( | u | ) | (sizeof(union Udata)+(u)->len) |
Definition at line 18 of file lua-5.1.5/src/lstring.h.
Referenced by freeobj(), freeobj(), freeobj(), freeobj(), luaC_separateudata(), luaS_newudata(), reallymarkobject(), and reallymarkobject().
Definition at line 75 of file lua-5.1.5/src/lstring.c.
Definition at line 96 of file lua-5.1.5/src/lstring.c.
Definition at line 22 of file lua-5.1.5/src/lstring.c.