Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Macros | |
#define | sizelstring(l) (sizeof(union UTString) + ((l) + 1) * sizeof(char)) |
#define | sizeludata(l) (sizeof(union UUdata) + (l)) |
#define | sizeudata(u) sizeludata((u)->len) |
#define | luaS_newliteral(L, s) |
#define | isreserved(s) ((s)->tt == LUA_TSHRSTR && (s)->extra > 0) |
#define | eqshrstr(a, b) check_exp((a)->tt == LUA_TSHRSTR, (a) == (b)) |
Functions | |
LUAI_FUNC unsigned int | luaS_hash (const char *str, size_t l, unsigned int seed) |
LUAI_FUNC unsigned int | luaS_hashlongstr (TString *ts) |
LUAI_FUNC int | luaS_eqlngstr (TString *a, TString *b) |
LUAI_FUNC void | luaS_resize (lua_State *L, int newsize) |
LUAI_FUNC void | luaS_clearcache (global_State *g) |
LUAI_FUNC void | luaS_init (lua_State *L) |
LUAI_FUNC void | luaS_remove (lua_State *L, TString *ts) |
LUAI_FUNC Udata * | luaS_newudata (lua_State *L, size_t s) |
LUAI_FUNC TString * | luaS_newlstr (lua_State *L, const char *str, size_t l) |
LUAI_FUNC TString * | luaS_new (lua_State *L, const char *str) |
LUAI_FUNC TString * | luaS_createlngstrobj (lua_State *L, size_t l) |
#define eqshrstr | ( | a, | |
b ) check_exp((a)->tt == LUA_TSHRSTR, (a) == (b)) |
Definition at line 33 of file lua-5.3.6/src/lstring.h.
#define isreserved | ( | s | ) | ((s)->tt == LUA_TSHRSTR && (s)->extra > 0) |
Definition at line 27 of file lua-5.3.6/src/lstring.h.
#define luaS_newliteral | ( | L, | |
s ) |
Definition at line 20 of file lua-5.3.6/src/lstring.h.
#define sizelstring | ( | l | ) | (sizeof(union UTString) + ((l) + 1) * sizeof(char)) |
Definition at line 15 of file lua-5.3.6/src/lstring.h.
Referenced by createstrobj(), createstrobj(), freeobj(), freeobj(), and reallymarkobject().
#define sizeludata | ( | l | ) | (sizeof(union UUdata) + (l)) |
Definition at line 17 of file lua-5.3.6/src/lstring.h.
Referenced by luaS_newudata().
#define sizeudata | ( | u | ) | sizeludata((u)->len) |
Definition at line 18 of file lua-5.3.6/src/lstring.h.
LUAI_FUNC void luaS_clearcache | ( | global_State * | g | ) |
Definition at line 103 of file lua-5.3.6/src/lstring.c.
Definition at line 147 of file lua-5.3.6/src/lstring.c.
Definition at line 33 of file lua-5.2.4/src/lstring.c.
LUAI_FUNC unsigned int luaS_hash | ( | const char * | str, |
size_t | l, | ||
unsigned int | seed ) |
Definition at line 51 of file lua-5.2.4/src/lstring.c.
Definition at line 58 of file lua-5.3.6/src/lstring.c.
Definition at line 116 of file lua-5.3.6/src/lstring.c.
Definition at line 170 of file lua-5.2.4/src/lstring.c.
Definition at line 75 of file lua-5.1.5/src/lstring.c.
Definition at line 236 of file lua-5.3.6/src/lstring.c.
References gco2u, Udata::len, LUA_TUSERDATA, luaC_newobj(), luaM_toobig(), luaO_nilobject, MAX_SIZE, Udata::metatable, NULL, s, setuservalue, and sizeludata.
Definition at line 154 of file lua-5.3.6/src/lstring.c.
Definition at line 22 of file lua-5.1.5/src/lstring.c.