Macros | Functions
ltable.h File Reference
#include "lobject.h"
Include dependency graph for ltable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define allocsizenode(t)   (isdummy(t) ? 0 : sizenode(t))
 
#define gnext(n)   ((n)->u.next)
 
#define gnode(t, i)   (&(t)->node[i])
 
#define gval(n)   (&(n)->i_val)
 
#define invalidateTMcache(t)   ((t)->flags &= ~maskflags)
 
#define isdummy(t)   ((t)->lastfree == NULL)
 
#define nodefromval(v)   cast(Node *, (v))
 

Functions

LUAI_FUNC void luaH_free (lua_State *L, Table *t)
 
LUAI_FUNC const TValueluaH_get (Table *t, const TValue *key)
 
LUAI_FUNC const TValueluaH_getint (Table *t, lua_Integer key)
 
LUAI_FUNC lua_Unsigned luaH_getn (Table *t)
 
LUAI_FUNC const TValueluaH_getshortstr (Table *t, TString *key)
 
LUAI_FUNC const TValueluaH_getstr (Table *t, TString *key)
 
LUAI_FUNC TableluaH_new (lua_State *L)
 
LUAI_FUNC TValueluaH_newkey (lua_State *L, Table *t, const TValue *key)
 
LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key)
 
LUAI_FUNC unsigned int luaH_realasize (const Table *t)
 
LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize, unsigned int nhsize)
 
LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, unsigned int nasize)
 
LUAI_FUNC TValueluaH_set (lua_State *L, Table *t, const TValue *key)
 
LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key, TValue *value)
 

Macro Definition Documentation

#define allocsizenode (   t)    (isdummy(t) ? 0 : sizenode(t))

Definition at line 31 of file ltable.h.

#define gnext (   n)    ((n)->u.next)

Definition at line 15 of file ltable.h.

#define gnode (   t,
 
)    (&(t)->node[i])

Definition at line 13 of file ltable.h.

#define gval (   n)    (&(n)->i_val)

Definition at line 14 of file ltable.h.

#define invalidateTMcache (   t)    ((t)->flags &= ~maskflags)

Definition at line 23 of file ltable.h.

#define isdummy (   t)    ((t)->lastfree == NULL)

Definition at line 27 of file ltable.h.

#define nodefromval (   v)    cast(Node *, (v))

Definition at line 35 of file ltable.h.

Function Documentation

LUAI_FUNC void luaH_free ( lua_State L,
Table t 
)

Definition at line 594 of file ltable.c.

LUAI_FUNC const TValue* luaH_get ( Table t,
const TValue key 
)

Definition at line 741 of file ltable.c.

LUAI_FUNC const TValue* luaH_getint ( Table t,
lua_Integer  key 
)

Definition at line 683 of file ltable.c.

LUAI_FUNC lua_Unsigned luaH_getn ( Table t)

Definition at line 865 of file ltable.c.

LUAI_FUNC const TValue* luaH_getshortstr ( Table t,
TString key 
)

Definition at line 711 of file ltable.c.

LUAI_FUNC const TValue* luaH_getstr ( Table t,
TString key 
)

Definition at line 727 of file ltable.c.

LUAI_FUNC Table* luaH_new ( lua_State L)

Definition at line 582 of file ltable.c.

LUAI_FUNC TValue* luaH_newkey ( lua_State L,
Table t,
const TValue key 
)

Definition at line 621 of file ltable.c.

LUAI_FUNC int luaH_next ( lua_State L,
Table t,
StkId  key 
)

Definition at line 305 of file ltable.c.

LUAI_FUNC unsigned int luaH_realasize ( const Table t)

Definition at line 209 of file ltable.c.

LUAI_FUNC void luaH_resize ( lua_State L,
Table t,
unsigned int  nasize,
unsigned int  nhsize 
)

Definition at line 509 of file ltable.c.

LUAI_FUNC void luaH_resizearray ( lua_State L,
Table t,
unsigned int  nasize 
)

Definition at line 546 of file ltable.c.

LUAI_FUNC TValue* luaH_set ( lua_State L,
Table t,
const TValue key 
)

Definition at line 762 of file ltable.c.

LUAI_FUNC void luaH_setint ( lua_State L,
Table t,
lua_Integer  key,
TValue value 
)

Definition at line 770 of file ltable.c.



plotjuggler
Author(s): Davide Faconti
autogenerated on Sun Dec 6 2020 04:02:48