mirror of
https://github.com/lua/lua
synced 2026-09-26 16:17:11 +03:00
'clearapihash' -> 'luaS_clearcache' and moved to 'lstring.c' (which
keeps all code related to this cache)
This commit is contained in:
parent
2b37f2150e
commit
b436ed58a3
3 changed files with 18 additions and 17 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lstring.h,v 1.57 2015/01/16 16:54:37 roberto Exp roberto $
|
||||
** $Id: lstring.h,v 1.58 2015/03/04 13:31:21 roberto Exp roberto $
|
||||
** String table (keep all strings handled by Lua)
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -36,6 +36,7 @@
|
|||
LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed);
|
||||
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue