Github User Fetcher 1.0.0
C Application with Server and GUI
|
Go to the source code of this file.
Data Structures | |
struct | luaL_Reg |
struct | luaL_Buffer |
Macros | |
#define | luaL_getn(L, i) ((int)lua_objlen(L, i)) |
#define | luaL_setn(L, i, j) ((void)0) /* no op! */ |
#define | luaI_openlib luaL_openlib |
#define | LUA_ERRFILE (LUA_ERRERR+1) |
#define | luaL_argcheck(L, cond, numarg, extramsg) ((void)((cond) || luaL_argerror(L, (numarg), (extramsg)))) |
#define | luaL_checkstring(L, n) (luaL_checklstring(L, (n), NULL)) |
#define | luaL_optstring(L, n, d) (luaL_optlstring(L, (n), (d), NULL)) |
#define | luaL_checkint(L, n) ((int)luaL_checkinteger(L, (n))) |
#define | luaL_optint(L, n, d) ((int)luaL_optinteger(L, (n), (d))) |
#define | luaL_checklong(L, n) ((long)luaL_checkinteger(L, (n))) |
#define | luaL_optlong(L, n, d) ((long)luaL_optinteger(L, (n), (d))) |
#define | luaL_typename(L, i) lua_typename(L, lua_type(L,(i))) |
#define | luaL_dofile(L, fn) (luaL_loadfile(L, fn) || lua_pcall(L, 0, LUA_MULTRET, 0)) |
#define | luaL_dostring(L, s) (luaL_loadstring(L, s) || lua_pcall(L, 0, LUA_MULTRET, 0)) |
#define | luaL_getmetatable(L, n) (lua_getfield(L, LUA_REGISTRYINDEX, (n))) |
#define | luaL_opt(L, f, n, d) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n))) |
#define | luaL_addchar(B, c) |
#define | luaL_putchar(B, c) luaL_addchar(B,c) |
#define | luaL_addsize(B, n) ((B)->p += (n)) |
#define | LUA_NOREF (-2) |
#define | LUA_REFNIL (-1) |
#define | lua_ref(L, lock) |
#define | lua_unref(L, ref) luaL_unref(L, LUA_REGISTRYINDEX, (ref)) |
#define | lua_getref(L, ref) lua_rawgeti(L, LUA_REGISTRYINDEX, (ref)) |
#define | luaL_reg luaL_Reg |
Typedefs | |
typedef struct luaL_Reg | luaL_Reg |
typedef struct luaL_Buffer | luaL_Buffer |
#define LUA_ERRFILE (LUA_ERRERR+1) |
#define lua_getref | ( | L, | |
ref ) lua_rawgeti(L, LUA_REGISTRYINDEX, (ref)) |
Definition at line 167 of file lua-5.1.5/src/lauxlib.h.
#define LUA_NOREF (-2) |
Definition at line 159 of file lua-5.1.5/src/lauxlib.h.
Referenced by db_busy_handler(), db_busy_timeout(), db_commit_hook(), db_progress_handler(), db_register_function(), db_rollback_hook(), db_trace(), db_update_hook(), lsqlite_make_context(), and newdb().
#define lua_ref | ( | L, | |
lock ) |
Definition at line 162 of file lua-5.1.5/src/lauxlib.h.
#define LUA_REFNIL (-1) |
Definition at line 160 of file lua-5.1.5/src/lauxlib.h.
Referenced by luaL_ref().
#define lua_unref | ( | L, | |
ref ) luaL_unref(L, LUA_REGISTRYINDEX, (ref)) |
Definition at line 165 of file lua-5.1.5/src/lauxlib.h.
#define luaI_openlib luaL_openlib |
Definition at line 27 of file lua-5.1.5/src/lauxlib.h.
Referenced by luaL_register().
#define luaL_addchar | ( | B, | |
c ) |
Definition at line 136 of file lua-5.1.5/src/lauxlib.h.
Referenced by add_s(), add_s(), add_s(), add_s(), addquoted(), addquoted(), addquoted(), addquoted(), b_pack(), luaL_addlstring(), luaL_traceback(), os_date(), os_date(), os_date(), os_date(), push_indentStr(), read_line(), read_line(), searchpath(), setpath(), str_char(), str_format(), str_format(), str_format(), str_format(), str_gsub(), str_gsub(), str_gsub(), str_gsub(), str_lower(), str_pack(), str_pack(), str_reverse(), str_upper(), Xml_pushEncode(), and Xml_str().
#define luaL_addsize | ( | B, | |
n ) ((B)->p += (n)) |
Definition at line 143 of file lua-5.1.5/src/lauxlib.h.
Referenced by addliteral(), addliteral(), luaL_addlstring(), luaL_addvalue(), luaL_pushresultsize(), os_date(), os_date(), packint(), packint(), read_all(), read_all(), read_all(), read_chars(), read_chars(), read_chars(), read_chars(), read_line(), read_line(), read_line(), read_line(), str_format(), str_format(), str_format(), str_pack(), and str_pack().
#define luaL_argcheck | ( | L, | |
cond, | |||
numarg, | |||
extramsg ) ((void)((cond) || luaL_argerror(L, (numarg), (extramsg)))) |
Definition at line 100 of file lua-5.1.5/src/lauxlib.h.
Referenced by aux_lines(), aux_lines(), aux_lines(), b_pack(), b_unpack(), byteoffset(), byteoffset(), checkupval(), checkupval(), checkupval(), codepoint(), codepoint(), db_getinfo(), db_setmetatable(), db_setmetatable(), db_setmetatable(), db_upvaluejoin(), db_upvaluejoin(), db_upvaluejoin(), dir_iter(), f_seek(), f_seek(), f_seek(), fieldargs(), g_read(), g_read(), getco(), getfunc(), io_open(), io_open(), io_open(), io_popen(), io_popen(), l_checktime(), l_checktime(), luaB_cocreate(), luaB_coresume(), luaB_coresume(), luaB_costatus(), luaB_costatus(), luaB_newproxy(), luaB_rawlen(), luaB_rawlen(), luaB_select(), luaB_select(), luaB_select(), luaB_select(), luaB_setmetatable(), luaB_setmetatable(), luaB_setmetatable(), luaB_tonumber(), luaB_tonumber(), luaB_tonumber(), luaB_tonumber(), luaB_type(), luaB_type(), luaB_xpcall(), math_fmod(), math_fmod(), math_max(), math_max(), math_min(), math_min(), math_random(), math_random(), math_random(), math_random(), pushutfchar(), pushutfchar(), sort(), sort(), str_char(), str_char(), str_char(), str_char(), str_format(), str_format(), str_format(), str_gsub(), str_gsub(), str_gsub(), str_pack(), str_pack(), str_packsize(), str_packsize(), str_unpack(), str_unpack(), tinsert(), tinsert(), tinsert(), tmove(), tmove(), tremove(), tremove(), tremove(), utflen(), and utflen().
#define luaL_checkint | ( | L, | |
n ) ((int)luaL_checkinteger(L, (n))) |
Definition at line 104 of file lua-5.1.5/src/lauxlib.h.
Referenced by auxupvalue(), auxupvalue(), b_arshift(), b_lrot(), b_lshift(), b_rrot(), b_rshift(), checkupval(), db_busy_timeout(), db_getlocal(), db_getlocal(), db_progress_handler(), db_register_function(), db_setlocal(), db_setlocal(), dbbu_step(), dbvm_bind(), dbvm_bind_blob(), dbvm_get_value(), fieldargs(), getfunc(), ipairsaux(), ipairsaux(), lcontext_result_int(), luaB_select(), luaB_select(), luaB_tonumber(), luaB_unpack(), math_ldexp(), math_ldexp(), math_random(), math_randomseed(), setn(), str_char(), str_char(), str_format(), str_rep(), str_rep(), tconcat(), tconcat(), tinsert(), tinsert(), and unpack().
#define luaL_checklong | ( | L, | |
n ) ((long)luaL_checkinteger(L, (n))) |
Definition at line 106 of file lua-5.1.5/src/lauxlib.h.
#define luaL_checkstring | ( | L, | |
n ) (luaL_checklstring(L, (n), NULL)) |
Definition at line 102 of file lua-5.1.5/src/lauxlib.h.
Referenced by _file_info_(), b_pack(), b_size(), b_unpack(), change_dir(), db_create_collation(), db_db_filename(), db_do_rows(), db_exec(), db_prepare(), db_register_function(), db_sethook(), db_sethook(), db_sethook(), db_sethook(), dbvm_bind_blob(), dir_iter_factory(), file_lock(), file_utime(), g_read(), g_read(), gmatch(), gmatch(), io_lines(), io_lines(), io_lines(), io_lines(), io_open(), io_open(), io_open(), io_open(), io_popen(), io_popen(), io_popen(), io_popen(), iter_codes(), iter_codes(), lcontext_result(), lcontext_result_blob(), lcontext_result_error(), lcontext_result_text(), ll_loadlib(), ll_loadlib(), ll_loadlib(), ll_loadlib(), ll_module(), ll_require(), ll_require(), ll_require(), ll_require(), ll_searchpath(), ll_searchpath(), ll_searchpath(), loader_C(), loader_Croot(), loader_Lua(), loader_preload(), lsqlite_backup_init(), lsqlite_complete(), lsqlite_open(), luaB_tonumber(), luaB_warn(), luaL_checkoption(), luaL_checkoption(), make_dir(), make_link(), os_getenv(), os_getenv(), os_getenv(), os_getenv(), os_remove(), os_remove(), os_remove(), os_remove(), os_rename(), os_rename(), os_rename(), os_rename(), push_link_target(), remove_dir(), searcher_C(), searcher_C(), searcher_C(), searcher_Croot(), searcher_Croot(), searcher_Croot(), searcher_Lua(), searcher_Lua(), searcher_Lua(), searcher_preload(), searcher_preload(), searcher_preload(), str_gsub(), str_pack(), str_pack(), str_packsize(), str_packsize(), str_unpack(), str_unpack(), Xml_encode(), Xml_load(), and Xml_registerCode().
#define luaL_dofile | ( | L, | |
fn ) (luaL_loadfile(L, fn) || lua_pcall(L, 0, LUA_MULTRET, 0)) |
Definition at line 111 of file lua-5.1.5/src/lauxlib.h.
Referenced by main().
#define luaL_dostring | ( | L, | |
s ) (luaL_loadstring(L, s) || lua_pcall(L, 0, LUA_MULTRET, 0)) |
Definition at line 114 of file lua-5.1.5/src/lauxlib.h.
#define luaL_getmetatable | ( | L, | |
n ) (lua_getfield(L, LUA_REGISTRYINDEX, (n))) |
Definition at line 117 of file lua-5.1.5/src/lauxlib.h.
Referenced by dir_iter_factory(), lfs_lock_dir(), ll_register(), lsqlite_backup_init(), luaL_newmetatable(), luaL_setmetatable(), luaL_testudata(), luaopen_lsqlite3(), make_xml_object(), newdb(), newfile(), and newvm().
#define luaL_getn | ( | L, | |
i ) ((int)lua_objlen(L, i)) |
Definition at line 22 of file lua-5.1.5/src/lauxlib.h.
Referenced by luaB_unpack(), and tconcat().
#define luaL_opt | ( | L, | |
f, | |||
n, | |||
d ) (lua_isnoneornil(L,(n)) ? (d) : f(L,(n))) |
Definition at line 119 of file lua-5.1.5/src/lauxlib.h.
Referenced by luaB_unpack(), luaL_optinteger(), luaL_optinteger(), luaL_optnumber(), luaL_optnumber(), luaL_optunsigned(), os_date(), os_date(), os_date(), os_date(), tconcat(), tconcat(), tunpack(), unpack(), and unpack().
#define luaL_optint | ( | L, | |
n, | |||
d ) ((int)luaL_optinteger(L, (n), (d))) |
Definition at line 105 of file lua-5.1.5/src/lauxlib.h.
Referenced by db_sethook(), db_sethook(), db_traceback(), fieldargs(), getfunc(), luaB_collectgarbage(), luaB_collectgarbage(), luaB_error(), luaB_error(), luaB_tonumber(), luaB_unpack(), os_exit(), os_exit(), str_gsub(), tconcat(), tconcat(), tremove(), tremove(), unpack(), Xml_eval(), and Xml_iterate().
#define luaL_optlong | ( | L, | |
n, | |||
d ) ((long)luaL_optinteger(L, (n), (d))) |
Definition at line 107 of file lua-5.1.5/src/lauxlib.h.
Referenced by f_seek().
#define luaL_optstring | ( | L, | |
n, | |||
d ) (luaL_optlstring(L, (n), (d), NULL)) |
Definition at line 103 of file lua-5.1.5/src/lauxlib.h.
Referenced by db_getinfo(), db_getinfo(), db_getinfo(), db_getinfo(), db_load_extension(), io_open(), io_open(), io_open(), io_open(), io_popen(), io_popen(), io_popen(), io_popen(), ll_searchpath(), ll_searchpath(), ll_searchpath(), lsqlite_temp_directory(), luaB_assert(), luaB_assert(), luaB_dofile(), luaB_dofile(), luaB_dofile(), luaB_dofile(), luaB_load(), luaB_load(), luaB_load(), luaB_load(), luaB_loadfile(), luaB_loadfile(), luaB_loadfile(), luaB_loadfile(), luaB_loadstring(), luaL_checkoption(), luaL_checkoption(), os_date(), os_date(), os_execute(), os_execute(), os_execute(), os_execute(), os_setlocale(), os_setlocale(), os_setlocale(), and os_setlocale().
#define luaL_putchar | ( | B, | |
c ) luaL_addchar(B,c) |
Definition at line 141 of file lua-5.1.5/src/lauxlib.h.
#define luaL_reg luaL_Reg |
Definition at line 170 of file lua-5.1.5/src/lauxlib.h.
#define luaL_setn | ( | L, | |
i, | |||
j ) ((void)0) /* no op! */ |
Definition at line 23 of file lua-5.1.5/src/lauxlib.h.
#define luaL_typename | ( | L, | |
i ) lua_typename(L, lua_type(L,(i))) |
Definition at line 109 of file lua-5.1.5/src/lauxlib.h.
Referenced by add_value(), add_value(), add_value(), add_value(), addfield(), addfield(), addfield(), addfield(), luaB_tostring(), luaB_type(), luaB_type(), luaL_tolstring(), luaL_typeerror(), luaL_typerror(), make_xml_object(), msghandler(), msghandler(), print(), trymt(), typeerror(), and typeerror().
typedef struct luaL_Buffer luaL_Buffer |
typedef struct luaL_Reg luaL_Reg |
LUALIB_API void luaI_openlib | ( | lua_State * | L, |
const char * | libname, | ||
const luaL_Reg * | l, | ||
int | nup ) |
Definition at line 242 of file lua-5.1.5/src/lauxlib.c.
References luaL_Reg::func, libsize(), lua_getfield(), LUA_GLOBALSINDEX, lua_insert, lua_istable, lua_pop, lua_pushcclosure(), lua_pushvalue(), LUA_QS, LUA_REGISTRYINDEX, lua_remove, lua_setfield(), luaL_error(), luaL_findtable(), luaL_Reg::name, and NULL.
LUALIB_API void luaL_addlstring | ( | luaL_Buffer * | B, |
const char * | s, | ||
size_t | l ) |
Definition at line 436 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API void luaL_addstring | ( | luaL_Buffer * | B, |
const char * | s ) |
Definition at line 442 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API void luaL_addvalue | ( | luaL_Buffer * | B | ) |
Definition at line 454 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API int luaL_argerror | ( | lua_State * | L, |
int | numarg, | ||
const char * | extramsg ) |
Definition at line 43 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API void luaL_buffinit | ( | lua_State * | L, |
luaL_Buffer * | B ) |
Definition at line 472 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API int luaL_callmeta | ( | lua_State * | L, |
int | obj, | ||
const char * | e ) |
Definition at line 219 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API void luaL_checkany | ( | lua_State * | L, |
int | narg ) |
Definition at line 152 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API lua_Integer luaL_checkinteger | ( | lua_State * | L, |
int | numArg ) |
Definition at line 189 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API const char * luaL_checklstring | ( | lua_State * | L, |
int | numArg, | ||
size_t * | l ) |
Definition at line 158 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API lua_Number luaL_checknumber | ( | lua_State * | L, |
int | numArg ) |
Definition at line 176 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API int luaL_checkoption | ( | lua_State * | L, |
int | narg, | ||
const char * | def, | ||
const char *const | lst[] ) |
Definition at line 99 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API void luaL_checkstack | ( | lua_State * | L, |
int | sz, | ||
const char * | msg ) |
Definition at line 140 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API void luaL_checktype | ( | lua_State * | L, |
int | narg, | ||
int | t ) |
Definition at line 146 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API void * luaL_checkudata | ( | lua_State * | L, |
int | ud, | ||
const char * | tname ) |
Definition at line 124 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API int luaL_error | ( | lua_State * | L, |
const char * | fmt, | ||
... ) |
Definition at line 86 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API const char * luaL_findtable | ( | lua_State * | L, |
int | idx, | ||
const char * | fname, | ||
int | szhint ) |
Definition at line 357 of file lua-5.1.5/src/lauxlib.c.
References lua_createtable(), lua_isnil, lua_istable, lua_pop, lua_pushlstring(), lua_pushvalue(), lua_rawget(), lua_remove, lua_settable(), and NULL.
Referenced by ll_module(), luaI_openlib(), and luaopen_package().
LUALIB_API int luaL_getmetafield | ( | lua_State * | L, |
int | obj, | ||
const char * | e ) |
Definition at line 203 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API const char * luaL_gsub | ( | lua_State * | L, |
const char * | s, | ||
const char * | p, | ||
const char * | r ) |
Definition at line 340 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API int luaL_loadbuffer | ( | lua_State * | L, |
const char * | buff, | ||
size_t | sz, | ||
const char * | name ) |
Definition at line 609 of file lua-5.1.5/src/lauxlib.c.
References getS(), lua_load(), name, LoadS::s, and LoadS::size.
LUALIB_API int luaL_loadfile | ( | lua_State * | L, |
const char * | filename ) |
Definition at line 552 of file lua-5.1.5/src/lauxlib.c.
References errfile(), LoadF::extraline, LoadF::f, getF(), lua_gettop(), lua_load(), lua_pushfstring(), lua_pushliteral, lua_remove, lua_settop(), LUA_SIGNATURE, lua_tostring, and NULL.
LUALIB_API int luaL_loadstring | ( | lua_State * | L, |
const char * | s ) |
Definition at line 618 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API int luaL_newmetatable | ( | lua_State * | L, |
const char * | tname ) |
Definition at line 112 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API lua_State * luaL_newstate | ( | void | ) |
Definition at line 647 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API lua_Integer luaL_optinteger | ( | lua_State * | L, |
int | nArg, | ||
lua_Integer | def ) |
Definition at line 197 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API const char * luaL_optlstring | ( | lua_State * | L, |
int | numArg, | ||
const char * | def, | ||
size_t * | l ) |
Definition at line 165 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API lua_Number luaL_optnumber | ( | lua_State * | L, |
int | nArg, | ||
lua_Number | def ) |
Definition at line 184 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API char * luaL_prepbuffer | ( | luaL_Buffer * | B | ) |
Definition at line 429 of file lua-5.1.5/src/lauxlib.c.
References adjuststack(), luaL_Buffer::buffer, and emptybuffer().
LUALIB_API void luaL_pushresult | ( | luaL_Buffer * | B | ) |
Definition at line 447 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API int luaL_ref | ( | lua_State * | L, |
int | t ) |
Definition at line 481 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API void luaL_register | ( | lua_State * | L, |
const char * | libname, | ||
const luaL_Reg * | l ) |
Definition at line 229 of file lua-5.1.5/src/lauxlib.c.
References luaI_openlib.
Referenced by base_open(), createmeta(), luaopen_base(), luaopen_debug(), luaopen_io(), luaopen_math(), luaopen_os(), luaopen_package(), luaopen_string(), and luaopen_table().
LUALIB_API int luaL_typerror | ( | lua_State * | L, |
int | narg, | ||
const char * | tname ) |
Definition at line 61 of file lua-5.1.5/src/lauxlib.c.
References lua_pushfstring(), luaL_argerror(), and luaL_typename.
Referenced by lsqlite_getbu(), lsqlite_getcontext(), lsqlite_getdb(), luaL_checkudata(), and tag_error().
LUALIB_API void luaL_unref | ( | lua_State * | L, |
int | t, | ||
int | ref ) |
Definition at line 504 of file lua-5.1.5/src/lauxlib.c.
LUALIB_API void luaL_where | ( | lua_State * | L, |
int | lvl ) |
Definition at line 73 of file lua-5.1.5/src/lauxlib.c.