#include "lprefix.h"
#include <string.h>
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lmem.h"
#include "lobject.h"
#include "lstate.h"
#include "lstring.h"
Go to the source code of this file.
|
static TString * | createstrobj (lua_State *L, size_t l, int tag, unsigned int h) |
|
static void | growstrtab (lua_State *L, stringtable *tb) |
|
static TString * | internshrstr (lua_State *L, const char *str, size_t l) |
|
void | luaS_clearcache (global_State *g) |
|
TString * | luaS_createlngstrobj (lua_State *L, size_t l) |
|
int | luaS_eqlngstr (TString *a, TString *b) |
|
unsigned int | luaS_hash (const char *str, size_t l, unsigned int seed) |
|
unsigned int | luaS_hashlongstr (TString *ts) |
|
void | luaS_init (lua_State *L) |
|
TString * | luaS_new (lua_State *L, const char *str) |
|
TString * | luaS_newlstr (lua_State *L, const char *str, size_t l) |
|
Udata * | luaS_newudata (lua_State *L, size_t s, int nuvalue) |
|
void | luaS_remove (lua_State *L, TString *ts) |
|
void | luaS_resize (lua_State *L, int nsize) |
|
static void | tablerehash (TString **vect, int osize, int nsize) |
|
◆ lstring_c
◆ LUA_CORE
◆ MAXSTRTB
◆ createstrobj()
static TString* createstrobj |
( |
lua_State * |
L, |
|
|
size_t |
l, |
|
|
int |
tag, |
|
|
unsigned int |
h |
|
) |
| |
|
static |
◆ growstrtab()
◆ internshrstr()
◆ luaS_clearcache()
◆ luaS_createlngstrobj()
◆ luaS_eqlngstr()
◆ luaS_hash()
unsigned int luaS_hash |
( |
const char * |
str, |
|
|
size_t |
l, |
|
|
unsigned int |
seed |
|
) |
| |
◆ luaS_hashlongstr()
unsigned int luaS_hashlongstr |
( |
TString * |
ts | ) |
|
◆ luaS_init()
◆ luaS_new()
◆ luaS_newlstr()
◆ luaS_newudata()
◆ luaS_remove()
◆ luaS_resize()
void luaS_resize |
( |
lua_State * |
L, |
|
|
int |
nsize |
|
) |
| |
◆ tablerehash()
static void tablerehash |
( |
TString ** |
vect, |
|
|
int |
osize, |
|
|
int |
nsize |
|
) |
| |
|
static |