aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r--src/lj_errmsg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h
index dc015ef2..e9ad0451 100644
--- a/src/lj_errmsg.h
+++ b/src/lj_errmsg.h
@@ -160,6 +160,12 @@ ERRDEF(FFI_BADMEMBER, LUA_QS " has no member named " LUA_QS)
160ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed") 160ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed")
161ERRDEF(FFI_WRCONST, "attempt to write to constant location") 161ERRDEF(FFI_WRCONST, "attempt to write to constant location")
162ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS) 162ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS)
163ERRDEF(FFI_BADCBACK, "bad callback")
164#if LJ_TARGET_X86ORX64
165ERRDEF(FFI_CBACKOV, "too many callbacks")
166#else
167ERRDEF(FFI_CBACKOV, "no support for callbacks (yet)")
168#endif
163ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields") 169ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields")
164ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)") 170ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)")
165#endif 171#endif