From 855b4afba0204d0ae6e8fbd251dfc71f4d84353e Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Mon, 8 Apr 2013 13:02:02 -0500 Subject: [PATCH] add % operator. --- luabind/operator.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/luabind/operator.hpp b/luabind/operator.hpp index c15a69e5..362b2408 100755 --- a/luabind/operator.hpp +++ b/luabind/operator.hpp @@ -288,6 +288,7 @@ namespace luabind { LUABIND_BINARY_OPERATOR(sub, -) LUABIND_BINARY_OPERATOR(mul, *) LUABIND_BINARY_OPERATOR(div, /) + LUABIND_BINARY_OPERATOR(mod, %) LUABIND_BINARY_OPERATOR(pow, ^) LUABIND_BINARY_OPERATOR(lt, <) LUABIND_BINARY_OPERATOR(le, <=)