Github User Fetcher 1.0.0
C Application with Server and GUI
|
#include "lprefix.h"
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "lauxlib.h"
Go to the source code of this file.
Data Structures | |
struct | UBox |
struct | LoadF |
struct | LoadS |
Macros | |
#define | lauxlib_c |
#define | LUA_LIB |
#define | MAX_SIZET ((size_t)(~(size_t)0)) |
#define | LEVELS1 10 /* size of the first part of the stack */ |
#define | LEVELS2 11 /* size of the second part of the stack */ |
#define | l_inspectstat(stat, what) /* no op */ |
#define | buffonstack(B) ((B)->b != (B)->init.b) |
#define | checkbufferlevel(B, idx) |
#define | freelist (LUA_RIDX_LAST + 1) |
Typedefs | |
typedef struct UBox | UBox |
typedef struct LoadF | LoadF |
typedef struct LoadS | LoadS |
Functions | |
static int | findfield (lua_State *L, int objidx, int level) |
static int | pushglobalfuncname (lua_State *L, lua_Debug *ar) |
static void | pushfuncname (lua_State *L, lua_Debug *ar) |
static int | lastlevel (lua_State *L) |
LUALIB_API void | luaL_traceback (lua_State *L, lua_State *L1, const char *msg, int level) |
LUALIB_API int | luaL_argerror (lua_State *L, int arg, const char *extramsg) |
LUALIB_API int | luaL_typeerror (lua_State *L, int arg, const char *tname) |
static void | tag_error (lua_State *L, int arg, int tag) |
LUALIB_API void | luaL_where (lua_State *L, int level) |
LUALIB_API int | luaL_error (lua_State *L, const char *fmt,...) |
LUALIB_API int | luaL_fileresult (lua_State *L, int stat, const char *fname) |
LUALIB_API int | luaL_execresult (lua_State *L, int stat) |
LUALIB_API int | luaL_newmetatable (lua_State *L, const char *tname) |
LUALIB_API void | luaL_setmetatable (lua_State *L, const char *tname) |
LUALIB_API void * | luaL_testudata (lua_State *L, int ud, const char *tname) |
LUALIB_API void * | luaL_checkudata (lua_State *L, int ud, const char *tname) |
LUALIB_API int | luaL_checkoption (lua_State *L, int arg, const char *def, const char *const lst[]) |
LUALIB_API void | luaL_checkstack (lua_State *L, int space, const char *msg) |
LUALIB_API void | luaL_checktype (lua_State *L, int arg, int t) |
LUALIB_API void | luaL_checkany (lua_State *L, int arg) |
LUALIB_API const char * | luaL_checklstring (lua_State *L, int arg, size_t *len) |
LUALIB_API const char * | luaL_optlstring (lua_State *L, int arg, const char *def, size_t *len) |
LUALIB_API lua_Number | luaL_checknumber (lua_State *L, int arg) |
LUALIB_API lua_Number | luaL_optnumber (lua_State *L, int arg, lua_Number def) |
static void | interror (lua_State *L, int arg) |
LUALIB_API lua_Integer | luaL_checkinteger (lua_State *L, int arg) |
LUALIB_API lua_Integer | luaL_optinteger (lua_State *L, int arg, lua_Integer def) |
static void * | resizebox (lua_State *L, int idx, size_t newsize) |
static int | boxgc (lua_State *L) |
static void | newbox (lua_State *L) |
static size_t | newbuffsize (luaL_Buffer *B, size_t sz) |
static char * | prepbuffsize (luaL_Buffer *B, size_t sz, int boxidx) |
LUALIB_API char * | luaL_prepbuffsize (luaL_Buffer *B, size_t sz) |
LUALIB_API void | luaL_addlstring (luaL_Buffer *B, const char *s, size_t l) |
LUALIB_API void | luaL_addstring (luaL_Buffer *B, const char *s) |
LUALIB_API void | luaL_pushresult (luaL_Buffer *B) |
LUALIB_API void | luaL_pushresultsize (luaL_Buffer *B, size_t sz) |
LUALIB_API void | luaL_addvalue (luaL_Buffer *B) |
LUALIB_API void | luaL_buffinit (lua_State *L, luaL_Buffer *B) |
LUALIB_API char * | luaL_buffinitsize (lua_State *L, luaL_Buffer *B, size_t sz) |
LUALIB_API int | luaL_ref (lua_State *L, int t) |
LUALIB_API void | luaL_unref (lua_State *L, int t, int ref) |
static const char * | getF (lua_State *L, void *ud, size_t *size) |
static int | errfile (lua_State *L, const char *what, int fnameindex) |
static int | skipBOM (LoadF *lf) |
static int | skipcomment (LoadF *lf, int *cp) |
LUALIB_API int | luaL_loadfilex (lua_State *L, const char *filename, const char *mode) |
static const char * | getS (lua_State *L, void *ud, size_t *size) |
LUALIB_API int | luaL_loadbufferx (lua_State *L, const char *buff, size_t size, const char *name, const char *mode) |
LUALIB_API int | luaL_loadstring (lua_State *L, const char *s) |
LUALIB_API int | luaL_getmetafield (lua_State *L, int obj, const char *event) |
LUALIB_API int | luaL_callmeta (lua_State *L, int obj, const char *event) |
LUALIB_API lua_Integer | luaL_len (lua_State *L, int idx) |
LUALIB_API const char * | luaL_tolstring (lua_State *L, int idx, size_t *len) |
LUALIB_API void | luaL_setfuncs (lua_State *L, const luaL_Reg *l, int nup) |
LUALIB_API int | luaL_getsubtable (lua_State *L, int idx, const char *fname) |
LUALIB_API void | luaL_requiref (lua_State *L, const char *modname, lua_CFunction openf, int glb) |
LUALIB_API void | luaL_addgsub (luaL_Buffer *b, const char *s, const char *p, const char *r) |
LUALIB_API const char * | luaL_gsub (lua_State *L, const char *s, const char *p, const char *r) |
static void * | l_alloc (void *ud, void *ptr, size_t osize, size_t nsize) |
static int | panic (lua_State *L) |
static void | warnfoff (void *ud, const char *message, int tocont) |
static void | warnfon (void *ud, const char *message, int tocont) |
static void | warnfcont (void *ud, const char *message, int tocont) |
static int | checkcontrol (lua_State *L, const char *message, int tocont) |
LUALIB_API lua_State * | luaL_newstate (void) |
LUALIB_API void | luaL_checkversion_ (lua_State *L, lua_Number ver, size_t sz) |
Variables | |
static const luaL_Reg | boxmt [] |
#define buffonstack | ( | B | ) | ((B)->b != (B)->init.b) |
Definition at line 515 of file lua-5.4.3/src/lauxlib.c.
Referenced by luaL_pushresult(), and prepbuffsize().
#define checkbufferlevel | ( | B, | |
idx ) |
Definition at line 522 of file lua-5.4.3/src/lauxlib.c.
Referenced by luaL_pushresult(), and prepbuffsize().
#define freelist (LUA_RIDX_LAST + 1) |
Definition at line 653 of file lua-5.4.3/src/lauxlib.c.
Referenced by luaL_ref(), and luaL_unref().
#define l_inspectstat | ( | stat, | |
what ) /* no op */ |
Definition at line 278 of file lua-5.4.3/src/lauxlib.c.
Referenced by luaL_execresult().
#define lauxlib_c |
Definition at line 7 of file lua-5.4.3/src/lauxlib.c.
#define LEVELS1 10 /* size of the first part of the stack */ |
Definition at line 43 of file lua-5.4.3/src/lauxlib.c.
Referenced by luaL_traceback().
#define LEVELS2 11 /* size of the second part of the stack */ |
Definition at line 44 of file lua-5.4.3/src/lauxlib.c.
Referenced by luaL_traceback().
#define LUA_LIB |
Definition at line 8 of file lua-5.4.3/src/lauxlib.c.
#define MAX_SIZET ((size_t)(~(size_t)0)) |
Definition at line 32 of file lua-5.4.3/src/lauxlib.c.
Referenced by newbuffsize().
typedef struct LoadF LoadF |
typedef struct LoadS LoadS |
typedef struct UBox UBox |
|
static |
Definition at line 488 of file lua-5.4.3/src/lauxlib.c.
References resizebox().
|
static |
Definition at line 1045 of file lua-5.4.3/src/lauxlib.c.
References lua_setwarnf(), warnfoff(), and warnfon().
Referenced by warnfoff(), and warnfon().
|
static |
Definition at line 733 of file lua-5.4.3/src/lauxlib.c.
References LUA_ERRFILE, lua_pushfstring(), lua_remove, and lua_tostring.
Referenced by luaL_loadfilex().
|
static |
Definition at line 52 of file lua-5.4.3/src/lauxlib.c.
References findfield(), lua_concat(), lua_istable, lua_next(), lua_pop, lua_pushliteral, lua_pushnil(), lua_rawequal(), lua_replace, LUA_TSTRING, and lua_type().
Referenced by findfield(), and pushglobalfuncname().
|
static |
Definition at line 715 of file lua-5.4.3/src/lauxlib.c.
References LoadF::buff, LoadF::f, fread(), LoadF::n, and NULL.
Referenced by luaL_loadfilex().
|
static |
Definition at line 818 of file lua-5.4.3/src/lauxlib.c.
References NULL, LoadS::s, and LoadS::size.
Referenced by luaL_loadbufferx().
|
static |
Definition at line 434 of file lua-5.4.3/src/lauxlib.c.
References arg, lua_isnumber(), LUA_TNUMBER, luaL_argerror(), and tag_error().
Referenced by luaL_checkinteger().
|
static |
Definition at line 1010 of file lua-5.4.3/src/lauxlib.c.
References free, NULL, and realloc.
Referenced by luaL_newstate().
|
static |
Definition at line 116 of file lua-5.4.3/src/lauxlib.c.
References lua_getstack().
Referenced by luaL_traceback().
LUALIB_API void luaL_addgsub | ( | luaL_Buffer * | b, |
const char * | s, | ||
const char * | p, | ||
const char * | r ) |
Definition at line 987 of file lua-5.4.3/src/lauxlib.c.
References luaL_addlstring(), luaL_addstring(), NULL, and s.
Referenced by luaL_gsub(), pusherrornotfound(), and searchpath().
LUALIB_API void luaL_addlstring | ( | luaL_Buffer * | B, |
const char * | s, | ||
size_t | l ) |
Definition at line 579 of file lua-5.4.3/src/lauxlib.c.
References luaL_addsize, prepbuffsize(), and s.
Referenced by luaL_addgsub(), and luaL_addstring().
LUALIB_API void luaL_addstring | ( | luaL_Buffer * | B, |
const char * | s ) |
Definition at line 588 of file lua-5.4.3/src/lauxlib.c.
References luaL_addlstring(), and s.
Referenced by luaL_addgsub(), and luaL_traceback().
LUALIB_API void luaL_addvalue | ( | luaL_Buffer * | B | ) |
Definition at line 618 of file lua-5.4.3/src/lauxlib.c.
References luaL_Buffer::L, lua_pop, lua_tolstring(), luaL_addsize, prepbuffsize(), and s.
Referenced by luaL_traceback().
LUALIB_API int luaL_argerror | ( | lua_State * | L, |
int | arg, | ||
const char * | extramsg ) |
Definition at line 175 of file lua-5.4.3/src/lauxlib.c.
References arg, lua_getinfo(), lua_getstack(), lua_tostring, luaL_error(), lua_Debug::name, lua_Debug::namewhat, NULL, and pushglobalfuncname().
Referenced by interror(), luaL_checkany(), luaL_checkoption(), and luaL_typeerror().
LUALIB_API void luaL_buffinit | ( | lua_State * | L, |
luaL_Buffer * | B ) |
Definition at line 629 of file lua-5.4.3/src/lauxlib.c.
References luaL_Buffer::b, luaL_Buffer::init, luaL_Buffer::L, lua_pushlightuserdata(), LUAL_BUFFERSIZE, luaL_Buffer::n, and luaL_Buffer::size.
Referenced by luaL_buffinitsize(), luaL_gsub(), and luaL_traceback().
LUALIB_API char * luaL_buffinitsize | ( | lua_State * | L, |
luaL_Buffer * | B, | ||
size_t | sz ) |
Definition at line 638 of file lua-5.4.3/src/lauxlib.c.
References luaL_buffinit(), and prepbuffsize().
LUALIB_API int luaL_callmeta | ( | lua_State * | L, |
int | obj, | ||
const char * | event ) |
Definition at line 861 of file lua-5.4.3/src/lauxlib.c.
References lua_absindex(), lua_call, lua_pushvalue(), LUA_TNIL, and luaL_getmetafield().
Referenced by luaL_tolstring().
LUALIB_API void luaL_checkany | ( | lua_State * | L, |
int | arg ) |
Definition at line 396 of file lua-5.4.3/src/lauxlib.c.
References arg, LUA_TNONE, lua_type(), and luaL_argerror().
LUALIB_API lua_Integer luaL_checkinteger | ( | lua_State * | L, |
int | arg ) |
Definition at line 442 of file lua-5.4.3/src/lauxlib.c.
References arg, interror(), and lua_tointegerx().
Referenced by luaL_optinteger().
LUALIB_API const char * luaL_checklstring | ( | lua_State * | L, |
int | arg, | ||
size_t * | len ) |
Definition at line 402 of file lua-5.4.3/src/lauxlib.c.
References arg, lua_tolstring(), LUA_TSTRING, s, and tag_error().
Referenced by luaL_optlstring().
LUALIB_API lua_Number luaL_checknumber | ( | lua_State * | L, |
int | arg ) |
Definition at line 420 of file lua-5.4.3/src/lauxlib.c.
References arg, LUA_TNUMBER, lua_tonumberx(), and tag_error().
Referenced by luaL_optnumber().
LUALIB_API int luaL_checkoption | ( | lua_State * | L, |
int | arg, | ||
const char * | def, | ||
const char *const | lst[] ) |
Definition at line 360 of file lua-5.4.3/src/lauxlib.c.
References arg, lua_pushfstring(), luaL_argerror(), luaL_checkstring, luaL_optstring, and name.
LUALIB_API void luaL_checkstack | ( | lua_State * | L, |
int | space, | ||
const char * | msg ) |
Definition at line 380 of file lua-5.4.3/src/lauxlib.c.
References lua_checkstack(), and luaL_error().
Referenced by luaL_setfuncs().
LUALIB_API void luaL_checktype | ( | lua_State * | L, |
int | arg, | ||
int | t ) |
Definition at line 390 of file lua-5.4.3/src/lauxlib.c.
References arg, lua_type(), and tag_error().
LUALIB_API void * luaL_checkudata | ( | lua_State * | L, |
int | ud, | ||
const char * | tname ) |
Definition at line 345 of file lua-5.4.3/src/lauxlib.c.
References luaL_argexpected, luaL_testudata(), and NULL.
LUALIB_API void luaL_checkversion_ | ( | lua_State * | L, |
lua_Number | ver, | ||
size_t | sz ) |
Definition at line 1097 of file lua-5.4.3/src/lauxlib.c.
References lua_version(), LUAI_UACNUMBER, luaL_error(), and LUAL_NUMSIZES.
LUALIB_API int luaL_error | ( | lua_State * | L, |
const char * | fmt, | ||
... ) |
Definition at line 234 of file lua-5.4.3/src/lauxlib.c.
References lua_concat(), lua_error(), lua_pushvfstring(), and luaL_where().
Referenced by luaL_argerror(), luaL_checkstack(), luaL_checkversion_(), luaL_len(), luaL_tolstring(), and newbuffsize().
LUALIB_API int luaL_execresult | ( | lua_State * | L, |
int | stat ) |
Definition at line 285 of file lua-5.4.3/src/lauxlib.c.
References l_inspectstat, lua_pushboolean(), lua_pushinteger(), lua_pushstring(), luaL_fileresult(), luaL_pushfail, and NULL.
LUALIB_API int luaL_fileresult | ( | lua_State * | L, |
int | stat, | ||
const char * | fname ) |
Definition at line 245 of file lua-5.4.3/src/lauxlib.c.
References lua_pushboolean(), lua_pushfstring(), lua_pushinteger(), lua_pushstring(), and luaL_pushfail.
Referenced by luaL_execresult().
LUALIB_API int luaL_getmetafield | ( | lua_State * | L, |
int | obj, | ||
const char * | event ) |
Definition at line 845 of file lua-5.4.3/src/lauxlib.c.
References lua_getmetatable(), lua_pop, lua_pushstring(), lua_rawget(), lua_remove, and LUA_TNIL.
Referenced by luaL_callmeta(), luaL_tolstring(), and luaL_typeerror().
LUALIB_API int luaL_getsubtable | ( | lua_State * | L, |
int | idx, | ||
const char * | fname ) |
Definition at line 947 of file lua-5.4.3/src/lauxlib.c.
References lua_absindex(), lua_getfield(), lua_newtable, lua_pop, lua_pushvalue(), lua_setfield(), and LUA_TTABLE.
Referenced by luaL_requiref().
LUALIB_API const char * luaL_gsub | ( | lua_State * | L, |
const char * | s, | ||
const char * | p, | ||
const char * | r ) |
Definition at line 1000 of file lua-5.4.3/src/lauxlib.c.
References lua_tostring, luaL_addgsub(), luaL_buffinit(), luaL_pushresult(), and s.
LUALIB_API lua_Integer luaL_len | ( | lua_State * | L, |
int | idx ) |
Definition at line 871 of file lua-5.4.3/src/lauxlib.c.
References lua_len(), lua_pop, lua_tointegerx(), and luaL_error().
LUALIB_API int luaL_loadbufferx | ( | lua_State * | L, |
const char * | buff, | ||
size_t | size, | ||
const char * | name, | ||
const char * | mode ) |
Definition at line 828 of file lua-5.4.3/src/lauxlib.c.
References getS(), lua_load(), name, LoadS::s, and LoadS::size.
LUALIB_API int luaL_loadfilex | ( | lua_State * | L, |
const char * | filename, | ||
const char * | mode ) |
Definition at line 776 of file lua-5.4.3/src/lauxlib.c.
References LoadF::buff, errfile(), LoadF::f, getF(), lua_gettop(), lua_load(), lua_pushfstring(), lua_pushliteral, lua_remove, lua_settop(), LUA_SIGNATURE, lua_tostring, LoadF::n, NULL, and skipcomment().
LUALIB_API int luaL_loadstring | ( | lua_State * | L, |
const char * | s ) |
Definition at line 837 of file lua-5.4.3/src/lauxlib.c.
References luaL_loadbuffer, and s.
LUALIB_API int luaL_newmetatable | ( | lua_State * | L, |
const char * | tname ) |
Definition at line 311 of file lua-5.4.3/src/lauxlib.c.
References lua_createtable(), lua_pop, lua_pushstring(), lua_pushvalue(), LUA_REGISTRYINDEX, lua_setfield(), LUA_TNIL, and luaL_getmetatable.
Referenced by newbox().
LUALIB_API lua_State * luaL_newstate | ( | void | ) |
Definition at line 1087 of file lua-5.4.3/src/lauxlib.c.
References l_alloc(), lua_atpanic(), lua_newstate(), lua_setwarnf(), NULL, panic(), and warnfoff().
LUALIB_API lua_Integer luaL_optinteger | ( | lua_State * | L, |
int | arg, | ||
lua_Integer | def ) |
Definition at line 452 of file lua-5.4.3/src/lauxlib.c.
References arg, luaL_checkinteger(), and luaL_opt.
LUALIB_API const char * luaL_optlstring | ( | lua_State * | L, |
int | arg, | ||
const char * | def, | ||
size_t * | len ) |
Definition at line 409 of file lua-5.4.3/src/lauxlib.c.
References arg, lua_isnoneornil, and luaL_checklstring().
LUALIB_API lua_Number luaL_optnumber | ( | lua_State * | L, |
int | arg, | ||
lua_Number | def ) |
Definition at line 429 of file lua-5.4.3/src/lauxlib.c.
References arg, luaL_checknumber(), and luaL_opt.
LUALIB_API char * luaL_prepbuffsize | ( | luaL_Buffer * | B, |
size_t | sz ) |
Definition at line 574 of file lua-5.4.3/src/lauxlib.c.
References prepbuffsize().
LUALIB_API void luaL_pushresult | ( | luaL_Buffer * | B | ) |
Definition at line 593 of file lua-5.4.3/src/lauxlib.c.
References luaL_Buffer::b, buffonstack, checkbufferlevel, luaL_Buffer::L, lua_closeslot(), lua_pushlstring(), lua_remove, and luaL_Buffer::n.
Referenced by luaL_gsub(), luaL_pushresultsize(), and luaL_traceback().
LUALIB_API void luaL_pushresultsize | ( | luaL_Buffer * | B, |
size_t | sz ) |
Definition at line 603 of file lua-5.4.3/src/lauxlib.c.
References luaL_addsize, and luaL_pushresult().
LUALIB_API int luaL_ref | ( | lua_State * | L, |
int | t ) |
Definition at line 660 of file lua-5.4.3/src/lauxlib.c.
References freelist, lua_absindex(), lua_assert, lua_isinteger(), lua_isnil, lua_pop, lua_pushinteger(), lua_rawgeti(), lua_rawlen, lua_rawseti(), LUA_REFNIL, LUA_TNIL, and lua_tointeger.
LUALIB_API void luaL_requiref | ( | lua_State * | L, |
const char * | modname, | ||
lua_CFunction | openf, | ||
int | glb ) |
Definition at line 967 of file lua-5.4.3/src/lauxlib.c.
References lua_call, lua_getfield(), LUA_LOADED_TABLE, lua_pop, lua_pushcfunction, lua_pushstring(), lua_pushvalue(), LUA_REGISTRYINDEX, lua_remove, lua_setfield(), lua_setglobal, lua_toboolean(), and luaL_getsubtable().
LUALIB_API void luaL_setfuncs | ( | lua_State * | L, |
const luaL_Reg * | l, | ||
int | nup ) |
Definition at line 926 of file lua-5.4.3/src/lauxlib.c.
References luaL_Reg::func, lua_pop, lua_pushboolean(), lua_pushcclosure(), lua_pushvalue(), lua_setfield(), luaL_checkstack(), luaL_Reg::name, and NULL.
Referenced by newbox().
LUALIB_API void luaL_setmetatable | ( | lua_State * | L, |
const char * | tname ) |
Definition at line 324 of file lua-5.4.3/src/lauxlib.c.
References lua_setmetatable(), and luaL_getmetatable.
LUALIB_API void * luaL_testudata | ( | lua_State * | L, |
int | ud, | ||
const char * | tname ) |
Definition at line 330 of file lua-5.4.3/src/lauxlib.c.
References lua_getmetatable(), lua_pop, lua_rawequal(), lua_touserdata(), luaL_getmetatable, and NULL.
Referenced by luaL_checkudata().
LUALIB_API const char * luaL_tolstring | ( | lua_State * | L, |
int | idx, | ||
size_t * | len ) |
Definition at line 883 of file lua-5.4.3/src/lauxlib.c.
References lua_isinteger(), lua_isstring(), lua_pushfstring(), lua_pushliteral, lua_pushstring(), lua_pushvalue(), lua_remove, LUA_TBOOLEAN, LUA_TNIL, LUA_TNUMBER, lua_toboolean(), lua_tointeger, lua_tolstring(), lua_tonumber, lua_topointer(), lua_tostring, LUA_TSTRING, lua_type(), LUAI_UACINT, LUAI_UACNUMBER, luaL_callmeta(), luaL_error(), luaL_getmetafield(), and luaL_typename.
LUALIB_API void luaL_traceback | ( | lua_State * | L, |
lua_State * | L1, | ||
const char * | msg, | ||
int | level ) |
Definition at line 131 of file lua-5.4.3/src/lauxlib.c.
References lua_Debug::currentline, lua_Debug::istailcall, lastlevel(), LEVELS1, LEVELS2, lua_getinfo(), lua_getstack(), lua_pushfstring(), luaL_addchar, luaL_addstring(), luaL_addvalue(), luaL_buffinit(), luaL_pushresult(), pushfuncname(), and lua_Debug::short_src.
LUALIB_API int luaL_typeerror | ( | lua_State * | L, |
int | arg, | ||
const char * | tname ) |
Definition at line 193 of file lua-5.4.3/src/lauxlib.c.
References arg, lua_pushfstring(), LUA_TLIGHTUSERDATA, lua_tostring, LUA_TSTRING, lua_type(), luaL_argerror(), luaL_getmetafield(), and luaL_typename.
Referenced by tag_error().
LUALIB_API void luaL_unref | ( | lua_State * | L, |
int | t, | ||
int | ref ) |
Definition at line 688 of file lua-5.4.3/src/lauxlib.c.
References freelist, lua_absindex(), lua_assert, lua_isinteger(), lua_pushinteger(), lua_rawgeti(), and lua_rawseti().
LUALIB_API void luaL_where | ( | lua_State * | L, |
int | level ) |
Definition at line 216 of file lua-5.4.3/src/lauxlib.c.
References lua_Debug::currentline, lua_getinfo(), lua_getstack(), lua_pushfstring(), and lua_Debug::short_src.
Referenced by luaL_error().
|
static |
Definition at line 501 of file lua-5.4.3/src/lauxlib.c.
References UBox::box, boxmt, UBox::bsize, lua_newuserdatauv(), lua_setmetatable(), luaL_newmetatable(), luaL_setfuncs(), and NULL.
Referenced by prepbuffsize().
|
static |
Definition at line 531 of file lua-5.4.3/src/lauxlib.c.
References luaL_Buffer::L, luaL_error(), MAX_SIZET, luaL_Buffer::n, and luaL_Buffer::size.
Referenced by prepbuffsize().
|
static |
Definition at line 1021 of file lua-5.4.3/src/lauxlib.c.
References lua_tostring, lua_writestringerror, and NULL.
Referenced by luaL_newstate().
|
static |
Definition at line 546 of file lua-5.4.3/src/lauxlib.c.
References luaL_Buffer::b, buffonstack, checkbufferlevel, luaL_Buffer::L, lua_insert, lua_remove, lua_toclose(), luaL_Buffer::n, newbox(), newbuffsize(), resizebox(), and luaL_Buffer::size.
Referenced by luaL_addlstring(), luaL_addvalue(), luaL_buffinitsize(), and luaL_prepbuffsize().
Definition at line 100 of file lua-5.4.3/src/lauxlib.c.
References lua_Debug::linedefined, lua_pushfstring(), lua_pushliteral, lua_remove, lua_tostring, lua_Debug::name, lua_Debug::namewhat, pushglobalfuncname(), lua_Debug::short_src, and lua_Debug::what.
Referenced by luaL_traceback().
Definition at line 79 of file lua-5.4.3/src/lauxlib.c.
References findfield(), lua_copy(), lua_getfield(), lua_getinfo(), lua_gettop(), LUA_GNAME, LUA_LOADED_TABLE, lua_pushstring(), LUA_REGISTRYINDEX, lua_remove, lua_settop(), lua_tostring, and name.
Referenced by luaL_argerror(), and pushfuncname().
|
static |
Definition at line 473 of file lua-5.4.3/src/lauxlib.c.
References UBox::box, UBox::bsize, lua_error(), lua_getallocf(), lua_pushliteral, lua_touserdata(), and NULL.
Referenced by boxgc(), and prepbuffsize().
|
static |
Definition at line 742 of file lua-5.4.3/src/lauxlib.c.
References LoadF::buff, LoadF::f, and LoadF::n.
Referenced by skipcomment().
|
static |
Definition at line 763 of file lua-5.4.3/src/lauxlib.c.
References LoadF::f, and skipBOM().
Referenced by luaL_loadfilex().
|
static |
Definition at line 207 of file lua-5.4.3/src/lauxlib.c.
References arg, lua_typename(), and luaL_typeerror().
Referenced by interror(), luaL_checklstring(), luaL_checknumber(), and luaL_checktype().
|
static |
Definition at line 1067 of file lua-5.4.3/src/lauxlib.c.
References lua_setwarnf(), lua_writestringerror, warnfcont(), and warnfon().
Referenced by warnfcont(), and warnfon().
|
static |
Definition at line 1058 of file lua-5.4.3/src/lauxlib.c.
References checkcontrol().
Referenced by checkcontrol(), and luaL_newstate().
|
static |
Definition at line 1079 of file lua-5.4.3/src/lauxlib.c.
References checkcontrol(), lua_writestringerror, and warnfcont().
Referenced by checkcontrol(), and warnfcont().