summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/luajit/eolian.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bindings/luajit/eolian.lua b/src/bindings/luajit/eolian.lua
index 66727fa..2b2df9f 100644
--- a/src/bindings/luajit/eolian.lua
+++ b/src/bindings/luajit/eolian.lua
@@ -109,6 +109,7 @@ ffi.cdef [[
109 EOLIAN_MASK_STRING = 1 << 4, 109 EOLIAN_MASK_STRING = 1 << 4,
110 EOLIAN_MASK_CHAR = 1 << 5, 110 EOLIAN_MASK_CHAR = 1 << 5,
111 EOLIAN_MASK_NULL = 1 << 6, 111 EOLIAN_MASK_NULL = 1 << 6,
112 EOLIAN_MASK_SIGNED = EOLIAN_MASK_SINT | EOLIAN_MASK_FLOAT,
112 EOLIAN_MASK_NUMBER = EOLIAN_MASK_INT | EOLIAN_MASK_FLOAT, 113 EOLIAN_MASK_NUMBER = EOLIAN_MASK_INT | EOLIAN_MASK_FLOAT,
113 EOLIAN_MASK_ALL = EOLIAN_MASK_NUMBER | EOLIAN_MASK_BOOL 114 EOLIAN_MASK_ALL = EOLIAN_MASK_NUMBER | EOLIAN_MASK_BOOL
114 | EOLIAN_MASK_STRING | EOLIAN_MASK_CHAR 115 | EOLIAN_MASK_STRING | EOLIAN_MASK_CHAR
@@ -1222,6 +1223,7 @@ M.expression_mask = {
1222local emask = M.expression_mask 1223local emask = M.expression_mask
1223 1224
1224emask.INT = bit.bor(emask.SINT , emask.UINT ) 1225emask.INT = bit.bor(emask.SINT , emask.UINT )
1226emask.SIGNED = bit.bor(emask.SINT , emask.FLOAT)
1225emask.NUMBER = bit.bor(emask.INT , emask.FLOAT) 1227emask.NUMBER = bit.bor(emask.INT , emask.FLOAT)
1226emask.ALL = bit.bor(emask.NUMBER, emask.BOOL, 1228emask.ALL = bit.bor(emask.NUMBER, emask.BOOL,
1227 emask.STRING, emask.CHAR, emask.NULL) 1229 emask.STRING, emask.CHAR, emask.NULL)