Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include <string.h>
#include "lua.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
Go to the source code of this file.
Macros | |
#define | lstring_c |
#define | LUA_CORE |
Functions | |
void | luaS_resize (lua_State *L, int newsize) |
static TString * | newlstr (lua_State *L, const char *str, size_t l, unsigned int h) |
TString * | luaS_newlstr (lua_State *L, const char *str, size_t l) |
Udata * | luaS_newudata (lua_State *L, size_t s, Table *e) |
#define lstring_c |
Definition at line 10 of file lua-5.1.5/src/lstring.c.
#define LUA_CORE |
Definition at line 11 of file lua-5.1.5/src/lstring.c.
Definition at line 75 of file lua-5.1.5/src/lstring.c.
References cast, changewhite, G, GCObject::gch, getstr, isdead, TString::len, lmod, newlstr(), NULL, rawgco2ts, and TString::tsv.
Referenced by LoadString(), LoadString(), LoadString(), loadStringN(), lua_concat(), lua_pushlstring(), luaK_numberK(), luaO_pushvfstring(), luaO_tostring(), luaO_tostring(), luaV_concat(), luaV_concat(), luaV_tostring(), luaX_newstring(), pushstr(), pushstr(), and pushstr().
Definition at line 96 of file lua-5.1.5/src/lstring.c.
References cast, Udata::env, G, Udata::len, LUA_TUSERDATA, luaC_white, luaM_malloc, luaM_toobig(), MAX_SIZET, Udata::metatable, NULL, obj2gco, s, and Udata::uv.
Referenced by lua_newuserdata(), and lua_newuserdatauv().
void luaS_resize | ( | lua_State * | L, |
int | newsize ) |
Definition at line 22 of file lua-5.1.5/src/lstring.c.
References cast_int, G, GCObject::gch, gco2ts, GCSsweepstring, stringtable::hash, lmod, lua_assert, luaM_freearray, luaM_newvector, next, NULL, and stringtable::size.
Referenced by checkSizes(), checkSizes(), checkSizes(), checkSizes(), f_luaopen(), f_luaopen(), and newlstr().
Definition at line 50 of file lua-5.1.5/src/lstring.c.
References cast, G, TString::hash, stringtable::hash, TString::len, lmod, LUA_TSTRING, luaC_white, luaM_malloc, luaM_toobig(), luaS_resize(), MAX_INT, MAX_SIZET, stringtable::nuse, obj2gco, TString::reserved, stringtable::size, and TString::tsv.
Referenced by luaS_newlstr().