diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-09-18 03:04:39 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-09-18 03:04:39 +0000 |
| commit | 2f416d13847293675eb69aece1caa86033b6c892 (patch) | |
| tree | feae7adec76b1dfd1b9733e6a8efd8bed5d9542e /External/lua-5.2.3/src/ltable.h | |
| parent | Updated copyright notice (diff) | |
| download | DiligentTools-2f416d13847293675eb69aece1caa86033b6c892.tar.gz DiligentTools-2f416d13847293675eb69aece1caa86033b6c892.zip | |
Moved third party components from External to ThirdParty folder
Diffstat (limited to 'External/lua-5.2.3/src/ltable.h')
| -rw-r--r-- | External/lua-5.2.3/src/ltable.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/External/lua-5.2.3/src/ltable.h b/External/lua-5.2.3/src/ltable.h deleted file mode 100644 index d69449b..0000000 --- a/External/lua-5.2.3/src/ltable.h +++ /dev/null @@ -1,45 +0,0 @@ -/* -** $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 -*/ - -#ifndef ltable_h -#define ltable_h - -#include "lobject.h" - - -#define gnode(t,i) (&(t)->node[i]) -#define gkey(n) (&(n)->i_key.tvk) -#define gval(n) (&(n)->i_val) -#define gnext(n) ((n)->i_key.nk.next) - -#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); -LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); -LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); -LUAI_FUNC TValue *luaH_newkey (lua_State *L, 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); -LUAI_FUNC void luaH_resize (lua_State *L, Table *t, int nasize, int nhsize); -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 |
