aboutsummaryrefslogtreecommitdiff
path: root/src/lj_errmsg.h
diff options
context:
space:
mode:
authorMike Pall <mike>2011-11-14 14:15:57 +0100
committerMike Pall <mike>2011-11-14 14:18:25 +0100
commit71d00a56dbab6c29c0346093dbe530d7b7608be4 (patch)
tree5e28e19b4d2f20168d5ee0e4fe500b1e2b233c1c /src/lj_errmsg.h
parente9eb4fdb4a08baaa2d9190187a6c38d5b3f8b091 (diff)
downloadluajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.tar.gz
luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.tar.bz2
luajit-71d00a56dbab6c29c0346093dbe530d7b7608be4.zip
FFI: Add callback support (for x86/x64).
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