#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.
Defines | |
| #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 lstring.cpp.
| #define LUA_CORE |
Definition at line 11 of file lstring.cpp.
Definition at line 75 of file lstring.cpp.
Referenced by LoadString(), lua_concat(), lua_pushlstring(), luaO_pushvfstring(), luaV_concat(), and luaX_newstring().
| void luaS_resize | ( | lua_State * | L, | |
| int | newsize | |||
| ) |
Definition at line 50 of file lstring.cpp.
References cast, G, stringtable::hash, TString::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().
1.5.3