diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-02-18 10:40:02 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-02-18 10:40:02 -0200 |
commit | 7d45a5f48ff32a4e09a1734de23823943d6a6b28 (patch) | |
tree | de7bef1faf37d9b639928e5269e89d7112b5b6fa /lstring.h | |
parent | 73d764024451c24bc43b8e5102fe90974a86b7f4 (diff) | |
download | lua-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||
26 | void luaS_resize (lua_State *L, int newsize); | 26 | void luaS_resize (lua_State *L, int newsize); |
27 | Udata *luaS_newudata (lua_State *L, size_t s); | 27 | Udata *luaS_newudata (lua_State *L, size_t s, Table *e); |
28 | TString *luaS_newlstr (lua_State *L, const char *str, size_t l); | 28 | TString *luaS_newlstr (lua_State *L, const char *str, size_t l); |
29 | 29 | ||
30 | 30 | ||