mirror of
https://github.com/nmap/nmap.git
synced 2026-10-21 03:11:48 +00:00
Update bundled liblua from 5.2.2 to 5.2.3
This commit is contained in:
parent
36fc84ab31
commit
4842def2f6
59 changed files with 129 additions and 91 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: ltable.h,v 2.16 2011/08/17 20:26:47 roberto Exp $
|
||||
** $Id: ltable.h,v 2.16.1.2 2013/08/30 15:49:41 roberto Exp $
|
||||
** Lua tables (hash)
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -17,6 +17,10 @@
|
|||
|
||||
#define invalidateTMcache(t) ((t)->flags = 0)
|
||||
|
||||
/* returns the key, given the value of a table entry */
|
||||
#define keyfromval(v) \
|
||||
(gkey(cast(Node *, cast(char *, (v)) - offsetof(Node, i_val))))
|
||||
|
||||
|
||||
LUAI_FUNC const TValue *luaH_getint (Table *t, int key);
|
||||
LUAI_FUNC void luaH_setint (lua_State *L, Table *t, int key, TValue *value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue