summaryrefslogtreecommitdiffhomepage
path: root/libs/nixio/docsrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-07-14 15:21:00 +0000
committerSteven Barth <steven@midlink.org>2009-07-14 15:21:00 +0000
commitdae7f3f4d5e066c945ed8352bf60dee37eb97657 (patch)
tree8aa60b16c0e96aae3a61316f6d31984049e375ac /libs/nixio/docsrc
parent7ac3bac56921c889d29636b0e957324553457e88 (diff)
nixio:
Add Rockspec Add bswap to nixio.bit Fix nixio.bit documentation
Diffstat (limited to 'libs/nixio/docsrc')
-rw-r--r--libs/nixio/docsrc/nixio.bit.lua12
1 files changed, 9 insertions, 3 deletions
diff --git a/libs/nixio/docsrc/nixio.bit.lua b/libs/nixio/docsrc/nixio.bit.lua
index 3bdad51f2f..6951dd5321 100644
--- a/libs/nixio/docsrc/nixio.bit.lua
+++ b/libs/nixio/docsrc/nixio.bit.lua
@@ -10,6 +10,12 @@ module "nixio.bit"
-- @param ... More Operands
-- @return number
+--- Invert given number.
+-- @class function
+-- @name bnot
+-- @param oper Operand
+-- @return number
+
--- Bitwise AND several numbers.
-- @class function
-- @name band
@@ -28,21 +34,21 @@ module "nixio.bit"
--- Left shift a number.
-- @class function
--- @name shl
+-- @name lshift
-- @param oper number
-- @param shift bits to shift
-- @return number
--- Right shift a number.
-- @class function
--- @name shr
+-- @name rshift
-- @param oper number
-- @param shift bits to shift
-- @return number
--- Arithmetically right shift a number.
-- @class function
--- @name ashr
+-- @name arshift
-- @param oper number
-- @param shift bits to shift
-- @return number