lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, 20 May 2010, Peter Cawley wrote:
>
> http://www.corsix.org/content/look-lua-52-work3

Cool, thanks.

A small bug: your summary of the bit library is out of date.

static const luaL_Reg bitlib[] = {
  {"band", b_and},
  {"btest", b_test},
  {"bor", b_or},
  {"bxor", b_xor},
  {"bnot", b_not},
  {"lshift", b_lshift},
  {"rshift", b_rshift},
  {"rol", b_rol},
  {"ror", b_ror},
  {NULL, NULL}
};

Tony.
-- 
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at/  【ツ】
FISHER GERMAN BIGHT: NORTHWEST 4 OR 5. SLIGHT OR MODERATE. FAIR. MODERATE OR
GOOD, OCCASIONALLY POOR IN WEST.