aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lj_obj.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lj_obj.h b/src/lj_obj.h
index cebeda9b..11b953e0 100644
--- a/src/lj_obj.h
+++ b/src/lj_obj.h
@@ -435,8 +435,8 @@ typedef union GCfunc {
435#define iscfunc(fn) ((fn)->c.ffid == FF_C) 435#define iscfunc(fn) ((fn)->c.ffid == FF_C)
436#define isffunc(fn) ((fn)->c.ffid > FF_C) 436#define isffunc(fn) ((fn)->c.ffid > FF_C)
437#define funcproto(fn) check_exp(isluafunc(fn), &gcref((fn)->l.pt)->pt) 437#define funcproto(fn) check_exp(isluafunc(fn), &gcref((fn)->l.pt)->pt)
438#define sizeCfunc(n) (sizeof(GCfuncC) + sizeof(TValue)*((n)-1)) 438#define sizeCfunc(n) (sizeof(GCfuncC)-sizeof(TValue)+sizeof(TValue)*(n))
439#define sizeLfunc(n) (sizeof(GCfuncL) + sizeof(TValue *)*((n)-1)) 439#define sizeLfunc(n) (sizeof(GCfuncL)-sizeof(GCRef)+sizeof(GCRef)*(n))
440 440
441/* -- Table object -------------------------------------------------------- */ 441/* -- Table object -------------------------------------------------------- */
442 442