diff options
author | Mike Pall <mike> | 2012-09-03 21:10:10 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2012-09-03 21:11:08 +0200 |
commit | 0648fd47cb5560cf1a44a211a75997863e8470dd (patch) | |
tree | 794077cf10c0f9dcb05c406904342880025311e3 /src/lj_errmsg.h | |
parent | 90ec1f90d0c31ab9398e971665c1e33d3158f9c0 (diff) | |
download | luajit-0648fd47cb5560cf1a44a211a75997863e8470dd.tar.gz luajit-0648fd47cb5560cf1a44a211a75997863e8470dd.tar.bz2 luajit-0648fd47cb5560cf1a44a211a75997863e8470dd.zip |
FFI: Handle __pairs/__ipairs metamethods for cdata objects.
Diffstat (limited to 'src/lj_errmsg.h')
-rw-r--r-- | src/lj_errmsg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_errmsg.h b/src/lj_errmsg.h index 5b10dea8..dd3eefa8 100644 --- a/src/lj_errmsg.h +++ b/src/lj_errmsg.h | |||
@@ -162,6 +162,7 @@ ERRDEF(FFI_NUMARG, "wrong number of arguments for function call") | |||
162 | ERRDEF(FFI_BADMEMBER, LUA_QS " has no member named " LUA_QS) | 162 | ERRDEF(FFI_BADMEMBER, LUA_QS " has no member named " LUA_QS) |
163 | ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed") | 163 | ERRDEF(FFI_BADIDX, LUA_QS " cannot be indexed") |
164 | ERRDEF(FFI_BADIDXW, LUA_QS " cannot be indexed with " LUA_QS) | 164 | ERRDEF(FFI_BADIDXW, LUA_QS " cannot be indexed with " LUA_QS) |
165 | ERRDEF(FFI_BADMM, LUA_QS " has no " LUA_QS " metamethod") | ||
165 | ERRDEF(FFI_WRCONST, "attempt to write to constant location") | 166 | ERRDEF(FFI_WRCONST, "attempt to write to constant location") |
166 | ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS) | 167 | ERRDEF(FFI_NODECL, "missing declaration for symbol " LUA_QS) |
167 | ERRDEF(FFI_BADCBACK, "bad callback") | 168 | ERRDEF(FFI_BADCBACK, "bad callback") |