RetroArch
Macros | Functions | Variables
lbaselib.c File Reference
#include "lprefix.h"
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
#include "lualib.h"
Include dependency graph for lbaselib.c:

Macros

#define lbaselib_c
 
#define LUA_LIB
 
#define SPACECHARS   " \f\n\r\t\v"
 
#define RESERVEDSLOT   5
 

Functions

static int luaB_print (lua_State *L)
 
static const char * b_str2int (const char *s, int base, lua_Integer *pn)
 
static int luaB_tonumber (lua_State *L)
 
static int luaB_error (lua_State *L)
 
static int luaB_getmetatable (lua_State *L)
 
static int luaB_setmetatable (lua_State *L)
 
static int luaB_rawequal (lua_State *L)
 
static int luaB_rawlen (lua_State *L)
 
static int luaB_rawget (lua_State *L)
 
static int luaB_rawset (lua_State *L)
 
static int luaB_collectgarbage (lua_State *L)
 
static int luaB_type (lua_State *L)
 
static int pairsmeta (lua_State *L, const char *method, int iszero, lua_CFunction iter)
 
static int luaB_next (lua_State *L)
 
static int luaB_pairs (lua_State *L)
 
static int ipairsaux (lua_State *L)
 
static int luaB_ipairs (lua_State *L)
 
static int load_aux (lua_State *L, int status, int envidx)
 
static int luaB_loadfile (lua_State *L)
 
static const char * generic_reader (lua_State *L, void *ud, size_t *size)
 
static int luaB_load (lua_State *L)
 
static int dofilecont (lua_State *L, int d1, lua_KContext d2)
 
static int luaB_dofile (lua_State *L)
 
static int luaB_assert (lua_State *L)
 
static int luaB_select (lua_State *L)
 
static int finishpcall (lua_State *L, int status, lua_KContext extra)
 
static int luaB_pcall (lua_State *L)
 
static int luaB_xpcall (lua_State *L)
 
static int luaB_tostring (lua_State *L)
 
LUAMOD_API int luaopen_base (lua_State *L)
 

Variables

static const luaL_Reg base_funcs []
 

Macro Definition Documentation

◆ lbaselib_c

#define lbaselib_c

◆ LUA_LIB

#define LUA_LIB

◆ RESERVEDSLOT

#define RESERVEDSLOT   5

◆ SPACECHARS

#define SPACECHARS   " \f\n\r\t\v"

Function Documentation

◆ b_str2int()

static const char* b_str2int ( const char *  s,
int  base,
lua_Integer pn 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dofilecont()

static int dofilecont ( lua_State L,
int  d1,
lua_KContext  d2 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ finishpcall()

static int finishpcall ( lua_State L,
int  status,
lua_KContext  extra 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ generic_reader()

static const char* generic_reader ( lua_State L,
void ud,
size_t *  size 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ipairsaux()

static int ipairsaux ( lua_State L)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ load_aux()

static int load_aux ( lua_State L,
int  status,
int  envidx 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaB_assert()

static int luaB_assert ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_collectgarbage()

static int luaB_collectgarbage ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_dofile()

static int luaB_dofile ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_error()

static int luaB_error ( lua_State L)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaB_getmetatable()

static int luaB_getmetatable ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_ipairs()

static int luaB_ipairs ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_load()

static int luaB_load ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_loadfile()

static int luaB_loadfile ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_next()

static int luaB_next ( lua_State L)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ luaB_pairs()

static int luaB_pairs ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_pcall()

static int luaB_pcall ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_print()

static int luaB_print ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_rawequal()

static int luaB_rawequal ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_rawget()

static int luaB_rawget ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_rawlen()

static int luaB_rawlen ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_rawset()

static int luaB_rawset ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_select()

static int luaB_select ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_setmetatable()

static int luaB_setmetatable ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_tonumber()

static int luaB_tonumber ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_tostring()

static int luaB_tostring ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_type()

static int luaB_type ( lua_State L)
static
Here is the call graph for this function:

◆ luaB_xpcall()

static int luaB_xpcall ( lua_State L)
static
Here is the call graph for this function:

◆ luaopen_base()

LUAMOD_API int luaopen_base ( lua_State L)
Here is the call graph for this function:

◆ pairsmeta()

static int pairsmeta ( lua_State L,
const char *  method,
int  iszero,
lua_CFunction  iter 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ base_funcs

const luaL_Reg base_funcs[]
static