add bor() operation
This commit is contained in:
@@ -26,5 +26,10 @@ function bit.band(a, b)
|
|||||||
return a & b
|
return a & b
|
||||||
end
|
end
|
||||||
|
|
||||||
|
-- bit/or operation
|
||||||
|
function bit.bor(a, b)
|
||||||
|
return a | b
|
||||||
|
end
|
||||||
|
|
||||||
-- load bit module
|
-- load bit module
|
||||||
return bit
|
return bit
|
||||||
|
Reference in New Issue
Block a user