diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-09 17:53:16 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-02-09 17:53:16 -0200 |
commit | 6875fdc8be9029b1bb29379c59d5409a0df42c10 (patch) | |
tree | af7d5845b1e209473ecf8ad0f53a188974628b20 /lstring.h | |
parent | dc17a9cc24a52a298dbfb7ffe8aaad393f7c1bf9 (diff) | |
download | lua-6875fdc8be9029b1bb29379c59d5409a0df42c10.tar.gz lua-6875fdc8be9029b1bb29379c59d5409a0df42c10.tar.bz2 lua-6875fdc8be9029b1bb29379c59d5409a0df42c10.zip |
new semantics for pushuserdata (no more different userdatas with same value)
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.26 2000/12/28 12:55:41 roberto Exp roberto $ | 2 | ** $Id: lstring.h,v 1.27 2001/01/10 17:41:50 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 | */ |
@@ -42,7 +42,7 @@ union L_UTString { | |||
42 | void luaS_init (lua_State *L); | 42 | void luaS_init (lua_State *L); |
43 | void luaS_resize (lua_State *L, stringtable *tb, int newsize); | 43 | void luaS_resize (lua_State *L, stringtable *tb, int newsize); |
44 | TString *luaS_newudata (lua_State *L, size_t s, void *udata); | 44 | TString *luaS_newudata (lua_State *L, size_t s, void *udata); |
45 | TString *luaS_createudata (lua_State *L, void *udata, int tag); | 45 | int luaS_createudata (lua_State *L, void *udata, TObject *o); |
46 | void luaS_freeall (lua_State *L); | 46 | void luaS_freeall (lua_State *L); |
47 | TString *luaS_newlstr (lua_State *L, const char *str, size_t l); | 47 | TString *luaS_newlstr (lua_State *L, const char *str, size_t l); |
48 | 48 | ||