aboutsummaryrefslogtreecommitdiff
path: root/lstring.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-09 17:53:16 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-02-09 17:53:16 -0200
commit6875fdc8be9029b1bb29379c59d5409a0df42c10 (patch)
treeaf7d5845b1e209473ecf8ad0f53a188974628b20 /lstring.h
parentdc17a9cc24a52a298dbfb7ffe8aaad393f7c1bf9 (diff)
downloadlua-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lstring.h b/lstring.h
index 5bcf33aa..5c9c7c36 100644
--- a/lstring.h
+++ b/lstring.h
@@ -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 {
42void luaS_init (lua_State *L); 42void luaS_init (lua_State *L);
43void luaS_resize (lua_State *L, stringtable *tb, int newsize); 43void luaS_resize (lua_State *L, stringtable *tb, int newsize);
44TString *luaS_newudata (lua_State *L, size_t s, void *udata); 44TString *luaS_newudata (lua_State *L, size_t s, void *udata);
45TString *luaS_createudata (lua_State *L, void *udata, int tag); 45int luaS_createudata (lua_State *L, void *udata, TObject *o);
46void luaS_freeall (lua_State *L); 46void luaS_freeall (lua_State *L);
47TString *luaS_newlstr (lua_State *L, const char *str, size_t l); 47TString *luaS_newlstr (lua_State *L, const char *str, size_t l);
48 48