lua-users home
lua-l archive

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


On Thu, Aug 04, 2011 at 08:21:11AM +0200, steve donovan wrote:
> On Wed, Aug 3, 2011 at 10:48 PM, Luiz Henrique de Figueiredo
> <lhf@tecgraf.puc-rio.br> wrote:
> > #define luaL_reg luaL_Reg
> 
> In fact, no rebuilding necessary - just put that #define in lfs.c and
> then either
> (a) accept that there is no longer a global 'lfs' table
> (b) write a little bit of C that makes the global 'lfs' table for compatibility
> 
> (a) is easy to live with, I think; most of us tend to do this anyway:
> 
> local lfs = require 'lfs'
> 
Thanks, Steve.  That idea will probably take care as well of most of the 
other modules around that won't work under 5.2.

Dirk