native Lua  0.4.0
Lua on the platform you use with the compiler you choose
Macros | Typedefs | Functions
ltablib.c File Reference
#include "lprefix.h"
#include <limits.h>
#include <stddef.h>
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
#include <time.h>
Include dependency graph for ltablib.c:

Macros

#define ltablib_c
 
#define LUA_LIB
 
#define TAB_R   1 /* read */
 
#define TAB_W   2 /* write */
 
#define TAB_L   4 /* length */
 
#define TAB_RW   (TAB_R | TAB_W) /* read/write */
 
#define aux_getn(L, n, w)   (checktab(L, n, (w) | TAB_L), luaL_len(L, n))
 
#define sof(e)   (sizeof(e) / sizeof(unsigned int))
 
#define RANLIMIT   100u
 

Typedefs

typedef unsigned int IdxT
 

Functions

LUAMOD_API int luaopen_table (lua_State *L)
 

Macro Definition Documentation

◆ aux_getn

#define aux_getn (   L,
  n,
 
)    (checktab(L, n, (w) | TAB_L), luaL_len(L, n))

◆ ltablib_c

#define ltablib_c

◆ LUA_LIB

#define LUA_LIB

◆ RANLIMIT

#define RANLIMIT   100u

◆ sof

#define sof (   e)    (sizeof(e) / sizeof(unsigned int))

◆ TAB_L

#define TAB_L   4 /* length */

◆ TAB_R

#define TAB_R   1 /* read */

◆ TAB_RW

#define TAB_RW   (TAB_R | TAB_W) /* read/write */

◆ TAB_W

#define TAB_W   2 /* write */

Typedef Documentation

◆ IdxT

typedef unsigned int IdxT

Function Documentation

◆ luaopen_table()

LUAMOD_API int luaopen_table ( lua_State L)