macros key', val', and `node' don't need the state

This commit is contained in:
Roberto Ierusalimschy
1999-11-23 11:58:02 -02:00
parent 514783de9d
commit e5743adb21
3 changed files with 12 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: ltable.h,v 1.15 1999/10/26 10:53:40 roberto Exp roberto $
** $Id: ltable.h,v 1.16 1999/11/22 13:12:07 roberto Exp roberto $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/
@@ -10,9 +10,9 @@
#include "lobject.h"
#define node(L, t,i) (&(t)->node[i])
#define key(L, n) (&(n)->key)
#define val(L, n) (&(n)->val)
#define node(t,i) (&(t)->node[i])
#define key(n) (&(n)->key)
#define val(n) (&(n)->val)
#define luaH_move(L, t,from,to) (luaH_setint(L, t, to, luaH_getint(L, t, from)))