/netbsd-src/external/mit/lua/dist/src/ |
H A D | lcode.h | 69 LUAI_FUNC int luaK_code (FuncState *fs, Instruction i); 70 LUAI_FUNC int luaK_codeABx (FuncState *fs, OpCode o, int A, unsigned int Bx); 71 LUAI_FUNC int luaK_codeAsBx (FuncState *fs, OpCode o, int A, int Bx); 72 LUAI_FUNC int luaK_codeABCk (FuncState *fs, OpCode o, int A, 74 LUAI_FUNC int luaK_isKint (expdesc *e); 75 LUAI_FUNC int luaK_exp2const (FuncState *fs, const expdesc *e, TValue *v); 76 LUAI_FUNC void luaK_fixline (FuncState *fs, int line); 77 LUAI_FUNC void luaK_nil (FuncState *fs, int from, int n); 78 LUAI_FUNC void luaK_reserveregs (FuncState *fs, int n); 79 LUAI_FUNC void luaK_checkstack (FuncState *fs, int n); [all …]
|
H A D | ltable.h | 40 LUAI_FUNC const TValue *luaH_getint (Table *t, lua_Integer key); 41 LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key, 43 LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key); 44 LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); 45 LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); 46 LUAI_FUNC void luaH_newkey (lua_State *L, Table *t, const TValue *key, 48 LUAI_FUNC void luaH_set (lua_State *L, Table *t, const TValue *key, 50 LUAI_FUNC void luaH_finishset (lua_State *L, Table *t, const TValue *key, 52 LUAI_FUNC Table *luaH_new (lua_State *L); 53 LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize, [all …]
|
H A D | ldo.h | 65 LUAI_FUNC void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop); 66 LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name, 68 LUAI_FUNC void luaD_hook (lua_State *L, int event, int line, 70 LUAI_FUNC void luaD_hookcall (lua_State *L, CallInfo *ci); 71 LUAI_FUNC int luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, 73 LUAI_FUNC CallInfo *luaD_precall (lua_State *L, StkId func, int nResults); 74 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults); 75 LUAI_FUNC void luaD_callnoyield (lua_State *L, StkId func, int nResults); 76 LUAI_FUNC StkId luaD_tryfuncTM (lua_State *L, StkId func); 77 LUAI_FUNC int luaD_closeprotected (lua_State *L, ptrdiff_t level, int status); [all …]
|
H A D | ldebug.h | 41 LUAI_FUNC int luaG_getfuncline (const Proto *f, int pc); 42 LUAI_FUNC const char *luaG_findlocal (lua_State *L, CallInfo *ci, int n, 44 LUAI_FUNC l_noret luaG_typeerror (lua_State *L, const TValue *o, 46 LUAI_FUNC l_noret luaG_callerror (lua_State *L, const TValue *o); 47 LUAI_FUNC l_noret luaG_forerror (lua_State *L, const TValue *o, 49 LUAI_FUNC l_noret luaG_concaterror (lua_State *L, const TValue *p1, 51 LUAI_FUNC l_noret luaG_opinterror (lua_State *L, const TValue *p1, 54 LUAI_FUNC l_noret luaG_tointerror (lua_State *L, const TValue *p1, 56 LUAI_FUNC l_noret luaG_ordererror (lua_State *L, const TValue *p1, 58 LUAI_FUNC l_noret luaG_runerror (lua_State *L, const char *fmt, ...); [all …]
|
H A D | lvm.h | 126 LUAI_FUNC int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2); 127 LUAI_FUNC int luaV_lessthan (lua_State *L, const TValue *l, const TValue *r); 128 LUAI_FUNC int luaV_lessequal (lua_State *L, const TValue *l, const TValue *r); 129 LUAI_FUNC int luaV_tonumber_ (const TValue *obj, lua_Number *n); 130 LUAI_FUNC int luaV_tointeger (const TValue *obj, lua_Integer *p, F2Imod mode); 131 LUAI_FUNC int luaV_tointegerns (const TValue *obj, lua_Integer *p, 133 LUAI_FUNC int luaV_flttointeger (lua_Number n, lua_Integer *p, F2Imod mode); 134 LUAI_FUNC void luaV_finishget (lua_State *L, const TValue *t, TValue *key, 136 LUAI_FUNC void luaV_finishset (lua_State *L, const TValue *t, TValue *key, 138 LUAI_FUNC void luaV_finishOp (lua_State *L); [all …]
|
H A D | ltm.h | 79 LUAI_FUNC const char *luaT_objtypename (lua_State *L, const TValue *o); 81 LUAI_FUNC const TValue *luaT_gettm (Table *events, TMS event, TString *ename); 82 LUAI_FUNC const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, 84 LUAI_FUNC void luaT_init (lua_State *L); 86 LUAI_FUNC void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1, 88 LUAI_FUNC void luaT_callTMres (lua_State *L, const TValue *f, 90 LUAI_FUNC void luaT_trybinTM (lua_State *L, const TValue *p1, const TValue *p2, 92 LUAI_FUNC void luaT_tryconcatTM (lua_State *L); 93 LUAI_FUNC void luaT_trybinassocTM (lua_State *L, const TValue *p1, 95 LUAI_FUNC void luaT_trybiniTM (lua_State *L, const TValue *p1, lua_Integer i2, [all …]
|
H A D | lstring.h | 46 LUAI_FUNC unsigned int luaS_hash (const char *str, size_t l, unsigned int seed); 47 LUAI_FUNC unsigned int luaS_hashlongstr (TString *ts); 48 LUAI_FUNC int luaS_eqlngstr (TString *a, TString *b); 49 LUAI_FUNC void luaS_resize (lua_State *L, int newsize); 50 LUAI_FUNC void luaS_clearcache (global_State *g); 51 LUAI_FUNC void luaS_init (lua_State *L); 52 LUAI_FUNC void luaS_remove (lua_State *L, TString *ts); 53 LUAI_FUNC Udata *luaS_newudata (lua_State *L, size_t s, int nuvalue); 54 LUAI_FUNC TString *luaS_newlstr (lua_State *L, const char *str, size_t l); 55 LUAI_FUNC TString *luaS_new (lua_State *L, const char *str); [all …]
|
H A D | lfunc.h | 52 LUAI_FUNC Proto *luaF_newproto (lua_State *L); 53 LUAI_FUNC CClosure *luaF_newCclosure (lua_State *L, int nupvals); 54 LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nupvals); 55 LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl); 56 LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); 57 LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level); 58 LUAI_FUNC void luaF_closeupval (lua_State *L, StkId level); 59 LUAI_FUNC StkId luaF_close (lua_State *L, StkId level, int status, int yy); 60 LUAI_FUNC void luaF_unlinkupval (UpVal *uv); 61 LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); [all …]
|
H A D | lgc.h | 190 LUAI_FUNC void luaC_fix (lua_State *L, GCObject *o); 191 LUAI_FUNC void luaC_freeallobjects (lua_State *L); 192 LUAI_FUNC void luaC_step (lua_State *L); 193 LUAI_FUNC void luaC_runtilstate (lua_State *L, int statesmask); 194 LUAI_FUNC void luaC_fullgc (lua_State *L, int isemergency); 195 LUAI_FUNC GCObject *luaC_newobj (lua_State *L, int tt, size_t sz); 196 LUAI_FUNC GCObject *luaC_newobjdt (lua_State *L, int tt, size_t sz, 198 LUAI_FUNC void luaC_barrier_ (lua_State *L, GCObject *o, GCObject *v); 199 LUAI_FUNC void luaC_barrierback_ (lua_State *L, GCObject *o); 200 LUAI_FUNC void luaC_checkfinalizer (lua_State *L, GCObject *o, Table *mt); [all …]
|
H A D | llex.h | 89 LUAI_FUNC void luaX_init (lua_State *L); 90 LUAI_FUNC void luaX_setinput (lua_State *L, LexState *ls, ZIO *z, 92 LUAI_FUNC TString *luaX_newstring (LexState *ls, const char *str, size_t l); 93 LUAI_FUNC void luaX_next (LexState *ls); 94 LUAI_FUNC int luaX_lookahead (LexState *ls); 95 LUAI_FUNC l_noret luaX_syntaxerror (LexState *ls, const char *s); 96 LUAI_FUNC const char *luaX_token2str (LexState *ls, int token);
|
H A D | lstate.h | 398 LUAI_FUNC void luaE_setdebt (global_State *g, l_mem debt); 399 LUAI_FUNC void luaE_freethread (lua_State *L, lua_State *L1); 400 LUAI_FUNC CallInfo *luaE_extendCI (lua_State *L); 401 LUAI_FUNC void luaE_freeCI (lua_State *L); 402 LUAI_FUNC void luaE_shrinkCI (lua_State *L); 403 LUAI_FUNC void luaE_checkcstack (lua_State *L); 404 LUAI_FUNC void luaE_incCstack (lua_State *L); 405 LUAI_FUNC void luaE_warning (lua_State *L, const char *msg, int tocont); 406 LUAI_FUNC void luaE_warnerror (lua_State *L, const char *where); 407 LUAI_FUNC int luaE_resetthread (lua_State *L, int status);
|
H A D | lmem.h | 81 LUAI_FUNC l_noret luaM_toobig (lua_State *L); 84 LUAI_FUNC void *luaM_realloc_ (lua_State *L, void *block, size_t oldsize, 86 LUAI_FUNC void *luaM_saferealloc_ (lua_State *L, void *block, size_t oldsize, 88 LUAI_FUNC void luaM_free_ (lua_State *L, void *block, size_t osize); 89 LUAI_FUNC void *luaM_growaux_ (lua_State *L, void *block, int nelems, 92 LUAI_FUNC void *luaM_shrinkvector_ (lua_State *L, void *block, int *nelem, 94 LUAI_FUNC void *luaM_malloc_ (lua_State *L, size_t size, int tag);
|
H A D | lzio.h | 49 LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, 51 LUAI_FUNC size_t luaZ_read (ZIO* z, void *b, size_t n); /* read next n bytes */ 66 LUAI_FUNC int luaZ_fill (ZIO *z);
|
H A D | lobject.h | 811 LUAI_FUNC int luaO_utf8esc (char *buff, unsigned long x); 812 LUAI_FUNC int luaO_ceillog2 (unsigned int x); 813 LUAI_FUNC int luaO_rawarith (lua_State *L, int op, const TValue *p1, 815 LUAI_FUNC void luaO_arith (lua_State *L, int op, const TValue *p1, 817 LUAI_FUNC size_t luaO_str2num (const char *s, TValue *o); 818 LUAI_FUNC int luaO_hexavalue (int c); 819 LUAI_FUNC void luaO_tostring (lua_State *L, TValue *obj); 820 LUAI_FUNC const char *luaO_pushvfstring (lua_State *L, const char *fmt, 822 LUAI_FUNC const char *luaO_pushfstring (lua_State *L, const char *fmt, ...); 823 LUAI_FUNC void luaO_chunkid (char *out, const char *source, size_t srclen);
|
H A D | lundump.h | 32 LUAI_FUNC LClosure* luaU_undump (lua_State* L, ZIO* Z, const char* name); 35 LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w,
|
H A D | lparser.h | 170 LUAI_FUNC int luaY_nvarstack (FuncState *fs); 171 LUAI_FUNC LClosure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
|
H A D | luaconf.h | 323 #define LUAI_FUNC __attribute__((visibility("internal"))) extern macro 325 #define LUAI_FUNC extern macro 328 #define LUAI_DDEC(dec) LUAI_FUNC dec
|
H A D | lstate.c | 177 LUAI_FUNC void luaE_incCstack (lua_State *L) { in luaE_incCstack()
|
H A D | ltable.c | 260 LUAI_FUNC unsigned int luaH_realasize (const Table *t) { in luaH_realasize()
|