diff options
Diffstat (limited to 'lstring.h')
| -rw-r--r-- | lstring.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstring.h,v 1.21 2000/05/24 13:54:49 roberto Exp roberto $ | 2 | ** $Id: lstring.h,v 1.22 2000/09/29 12:42:13 roberto Exp roberto $ |
| 3 | ** String table (keep all strings handled by Lua) | 3 | ** String table (keep all strings handled by Lua) |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -21,11 +21,11 @@ | |||
| 21 | 21 | ||
| 22 | 22 | ||
| 23 | #define sizestring(l) (sizeof(TString)+(lint32)(l)*sizeof(char)) | 23 | #define sizestring(l) (sizeof(TString)+(lint32)(l)*sizeof(char)) |
| 24 | #define gcsizeudata (sizeof(TString)) | ||
| 25 | 24 | ||
| 26 | 25 | ||
| 27 | void luaS_init (lua_State *L); | 26 | void luaS_init (lua_State *L); |
| 28 | void luaS_resize (lua_State *L, stringtable *tb, int newsize); | 27 | void luaS_resize (lua_State *L, stringtable *tb, int newsize); |
| 28 | TString *luaS_newudata (lua_State *L, size_t s, void *udata); | ||
| 29 | TString *luaS_createudata (lua_State *L, void *udata, int tag); | 29 | TString *luaS_createudata (lua_State *L, void *udata, int tag); |
| 30 | void luaS_freeall (lua_State *L); | 30 | void luaS_freeall (lua_State *L); |
| 31 | TString *luaS_newlstr (lua_State *L, const char *str, size_t l); | 31 | TString *luaS_newlstr (lua_State *L, const char *str, size_t l); |
