#include "lgc.h"
#include "lobject.h"
#include "lstate.h"
Go to the source code of this file.
|
unsigned int | luaS_hash (const char *str, size_t l, unsigned int seed) |
|
unsigned int | luaS_hashlongstr (TString *ts) |
|
int | luaS_eqlngstr (TString *a, TString *b) |
|
void | luaS_resize (lua_State *L, int newsize) |
|
void | luaS_clearcache (global_State *g) |
|
void | luaS_init (lua_State *L) |
|
void | luaS_remove (lua_State *L, TString *ts) |
|
Udata * | luaS_newudata (lua_State *L, size_t s) |
|
TString * | luaS_newlstr (lua_State *L, const char *str, size_t l) |
|
TString * | luaS_new (lua_State *L, const char *str) |
|
TString * | luaS_createlngstrobj (lua_State *L, size_t l) |
|
◆ eqshrstr
◆ isreserved
#define isreserved |
( |
|
s | ) |
((s)->tt == LUA_TSHRSTR && (s)->extra > 0) |
◆ luaS_newliteral
#define luaS_newliteral |
( |
|
L, |
|
|
|
s |
|
) |
| |
Value:
(sizeof(s)/sizeof(char))-1))
TString * luaS_newlstr(lua_State *L, const char *str, size_t l)
Definition at line 20 of file lstring.h.
◆ sizelstring
#define sizelstring |
( |
|
l | ) |
(sizeof(union UTString) + ((l) + 1) * sizeof(char)) |
◆ sizeludata
#define sizeludata |
( |
|
l | ) |
(sizeof(union UUdata) + (l)) |
◆ sizeudata
◆ 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 |
newsize |
|
) |
| |