aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-02-18 10:40:02 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-02-18 10:40:02 -0200
commit7d45a5f48ff32a4e09a1734de23823943d6a6b28 (patch)
treede7bef1faf37d9b639928e5269e89d7112b5b6fa /lstring.h
parent73d764024451c24bc43b8e5102fe90974a86b7f4 (diff)
downloadlua-7d45a5f48ff32a4e09a1734de23823943d6a6b28.tar.gz
lua-7d45a5f48ff32a4e09a1734de23823943d6a6b28.tar.bz2
lua-7d45a5f48ff32a4e09a1734de23823943d6a6b28.zip
C functions and userdata also have environments
Diffstat (limited to 'lstring.h')
-rw-r--r--lstring.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstring.h b/lstring.h
index ec2972a1..1d2d752e 100644
--- a/lstring.h
+++ b/lstring.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstring.h,v 1.39 2004/08/24 20:12:06 roberto Exp roberto $ 2** $Id: lstring.h,v 1.40 2004/11/19 15:52:40 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*/
@@ -24,7 +24,7 @@
24#define luaS_fix(s) setbit((s)->tsv.marked, FIXEDBIT) 24#define luaS_fix(s) setbit((s)->tsv.marked, FIXEDBIT)
25 25
26void luaS_resize (lua_State *L, int newsize); 26void luaS_resize (lua_State *L, int newsize);
27Udata *luaS_newudata (lua_State *L, size_t s); 27Udata *luaS_newudata (lua_State *L, size_t s, Table *e);
28TString *luaS_newlstr (lua_State *L, const char *str, size_t l); 28TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
29 29
30 30