Skip to content

Commit 855b4af

Browse files
rpavlikOberon00
authored andcommitted
add % operator.
1 parent 44a47e4 commit 855b4af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

luabind/operator.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ namespace luabind {
288288
LUABIND_BINARY_OPERATOR(sub, -)
289289
LUABIND_BINARY_OPERATOR(mul, *)
290290
LUABIND_BINARY_OPERATOR(div, /)
291+
LUABIND_BINARY_OPERATOR(mod, %)
291292
LUABIND_BINARY_OPERATOR(pow, ^)
292293
LUABIND_BINARY_OPERATOR(lt, <)
293294
LUABIND_BINARY_OPERATOR(le, <=)

0 commit comments

Comments
 (0)