summaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-01-04 10:54:33 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>1999-01-04 10:54:33 -0200
commitb9c9ccfbb4ed9c6cf6177d20cfd376a0fcb7a959 (patch)
treead23a228be0b4cf74c579652aabae2e1e922dcde /ltable.h
parentb94110a68f0ca5740b5e09c04a8049fd451a2b7a (diff)
downloadlua-b9c9ccfbb4ed9c6cf6177d20cfd376a0fcb7a959.tar.gz
lua-b9c9ccfbb4ed9c6cf6177d20cfd376a0fcb7a959.tar.bz2
lua-b9c9ccfbb4ed9c6cf6177d20cfd376a0fcb7a959.zip
function "move" for tables is better implemented with some "inside
information".
Diffstat (limited to 'ltable.h')
-rw-r--r--ltable.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ltable.h b/ltable.h
index b77cf2a2..87a01f83 100644
--- a/ltable.h
+++ b/ltable.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.h,v 1.6 1998/07/12 16:15:19 roberto Exp roberto $ 2** $Id: ltable.h,v 1.7 1998/12/30 13:14:46 roberto Exp $
3** Lua tables (hash) 3** Lua tables (hash)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -22,6 +22,7 @@ TObject *luaH_set (Hash *t, TObject *ref);
22Node *luaH_next (Hash *t, TObject *r); 22Node *luaH_next (Hash *t, TObject *r);
23void luaH_setint (Hash *t, int ref, TObject *val); 23void luaH_setint (Hash *t, int ref, TObject *val);
24TObject *luaH_getint (Hash *t, int ref); 24TObject *luaH_getint (Hash *t, int ref);
25void luaH_move (Hash *t, int from, int to);
25 26
26 27
27#endif 28#endif