summaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r--src/lj_errmsg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h
index d1db4386..5ba619bf 100644
--- a/src/lj_errmsg.h
+++ b/src/lj_errmsg.h
@@ -162,7 +162,11 @@ ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed")
162ERRDEF(FFI_WRCONST, "attempt to write to constant location") 162ERRDEF(FFI_WRCONST, "attempt to write to constant location")
163ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS) 163ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS)
164ERRDEF(FFI_BADCBACK, "bad callback") 164ERRDEF(FFI_BADCBACK, "bad callback")
165#if LJ_OS_NOJIT
166ERRDEF(FFI_CBACKOV, "no support for callbacks on this OS")
167#else
165ERRDEF(FFI_CBACKOV, "too many callbacks") 168ERRDEF(FFI_CBACKOV, "too many callbacks")
169#endif
166ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields") 170ERRDEF(FFI_NYIPACKBIT, "NYI: packed bit fields")
167ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)") 171ERRDEF(FFI_NYICALL, "NYI: cannot call this C function (yet)")
168#endif 172#endif