Sha256: 219e6ac2bf43aaa93093c6bcd571c012660325e6b87ea3d6c1b40679a0acfd64

Contents?: true

Size: 1.16 KB

Versions: 18

Compression:

Stored size: 1.16 KB

Contents

/*
** $Id: ltable.h,v 2.10.1.1 2007/12/27 13:02:25 roberto Exp $
** Lua tables (hash)
** See Copyright Notice in lua.h
*/

#ifndef ltable_h
#define ltable_h

#include "lobject.h"


#define gnode(t,i)	(&(t)->node[i])
#define gkey(n)		(&(n)->i_key.nk)
#define gval(n)		(&(n)->i_val)
#define gnext(n)	((n)->i_key.nk.next)

#define key2tval(n)	(&(n)->i_key.tvk)


LUAI_FUNC const TValue *luaH_getnum (Table *t, int key);
LUAI_FUNC TValue *luaH_setnum (lua_State *L, Table *t, int key);
LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
LUAI_FUNC TValue *luaH_setstr (lua_State *L, Table *t, TString *key);
LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key);
LUAI_FUNC Table *luaH_new (lua_State *L, int narray, int lnhash);
LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, int nasize);
LUAI_FUNC void luaH_free (lua_State *L, Table *t);
LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
LUAI_FUNC int luaH_getn (Table *t);


#if defined(LUA_DEBUG)
LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key);
LUAI_FUNC int luaH_isdummy (Node *n);
#endif


#endif

Version data entries

18 entries across 18 versions & 3 rubygems

Version Path
immunio-0.15.4 lua-hooks/ext/lua/ltable.h
immunio-0.15.3 lua-hooks/ext/lua/ltable.h
immunio-0.15.2 lua-hooks/ext/lua/ltable.h
hirlite-0.1.0 vendor/rlite/deps/lua/src/ltable.h
hirlite-0.0.2.2 vendor/rlite/deps/lua/src/ltable.h
hirlite-0.0.2.1 vendor/rlite/deps/lua/src/ltable.h
Tamar-0.7.18 src/lua/src/ltable.h
Tamar-0.7.17 src/lua/src/ltable.h
Tamar-0.7.16 src/lua/src/ltable.h
Tamar-0.7.14 src/lua/src/ltable.h
Tamar-0.7.13 src/lua/src/ltable.h
Tamar-0.7.12 src/lua/src/ltable.h
Tamar-0.7.11 src/lua/src/ltable.h
Tamar-0.7.10 src/lua/src/ltable.h
Tamar-0.7.9 src/lua/src/ltable.h
Tamar-0.7.8 src/lua/src/ltable.h
Tamar-0.7.7 src/lua/src/ltable.h
Tamar-0.7.6 src/lua/src/ltable.h