[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: bit32 for Lua 5.1?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 18 Jan 2011 13:31:01 -0200
> Thanks! Preliminary tests show it works fine. I also wrote a rockspec
> for it called "bit32 5.2.0alpha" for Lua 5.1. After a few more testing
> I'll post it to the LuaRocks repository.
Like I said, it was a simple hack for 32-bit Linux. Before it's ready for
prime time, I think you need to include some #defines in lbitlib.c like
those in the 5.2 luaconf.h for the proper definition of lua_Unsigned.