aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lstring.h b/lstring.h
index 2b853a0f..c04ef12a 100644
--- a/lstring.h
+++ b/lstring.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.h,v 1.20 2000/05/10 16:33:20 roberto Exp roberto $ 2** $Id: lstring.h,v 1.21 2000/05/24 13:54:49 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*/
@@ -20,8 +20,8 @@
20#define RESERVEDMARK 3 20#define RESERVEDMARK 3
21 21
22 22
23#define gcsizestring(L, l) numblocks(L, 0, sizeof(TString)+l) 23#define sizestring(l) (sizeof(TString)+(lint32)(l)*sizeof(char))
24#define gcsizeudata gcsizestring(L, 0) 24#define gcsizeudata (sizeof(TString))
25 25
26 26
27void luaS_init (lua_State *L); 27void luaS_init (lua_State *L);