Mercurial
comparison third_party/luajit/src/lj_func.h @ 186:8cf4ec5e2191 hg-web
Fixed merge conflict.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 22:38:59 -0800 |
| parents | 94705b5986b3 |
| children |
comparison
equal
deleted
inserted
replaced
| 176:fed99fc04e12 | 186:8cf4ec5e2191 |
|---|---|
| 1 /* | |
| 2 ** Function handling (prototypes, functions and upvalues). | |
| 3 ** Copyright (C) 2005-2023 Mike Pall. See Copyright Notice in luajit.h | |
| 4 */ | |
| 5 | |
| 6 #ifndef _LJ_FUNC_H | |
| 7 #define _LJ_FUNC_H | |
| 8 | |
| 9 #include "lj_obj.h" | |
| 10 | |
| 11 /* Prototypes. */ | |
| 12 LJ_FUNC void LJ_FASTCALL lj_func_freeproto(global_State *g, GCproto *pt); | |
| 13 | |
| 14 /* Upvalues. */ | |
| 15 LJ_FUNCA void LJ_FASTCALL lj_func_closeuv(lua_State *L, TValue *level); | |
| 16 LJ_FUNC void LJ_FASTCALL lj_func_freeuv(global_State *g, GCupval *uv); | |
| 17 | |
| 18 /* Functions (closures). */ | |
| 19 LJ_FUNC GCfunc *lj_func_newC(lua_State *L, MSize nelems, GCtab *env); | |
| 20 LJ_FUNC GCfunc *lj_func_newL_empty(lua_State *L, GCproto *pt, GCtab *env); | |
| 21 LJ_FUNCA GCfunc *lj_func_newL_gc(lua_State *L, GCproto *pt, GCfuncL *parent); | |
| 22 LJ_FUNC void LJ_FASTCALL lj_func_free(global_State *g, GCfunc *c); | |
| 23 | |
| 24 #endif |