From dae7f3f4d5e066c945ed8352bf60dee37eb97657 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Tue, 14 Jul 2009 15:21:00 +0000 Subject: nixio: Add Rockspec Add bswap to nixio.bit Fix nixio.bit documentation --- libs/nixio/docsrc/nixio.bit.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'libs/nixio/docsrc') 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 -- cgit v1.2.3