lua-users home
lua-l archive

Re: lua globals and C code

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


Luiz Henrique de Figueiredo wrote:
> 
> ...
> For the time being, you'll have to change lua_poslibopen to use the new scheme
> yourself. See lmathlib.c for an example. Sorry about that.
OK. This doesn't look too hard. I will try it.
I would like to say, though, that something still bothers me about
accessing globals from C and Lua being different. I can't think of a
concrete reason why this might be a problem, but it would be more
consistent if *all* functions could have their own globals table.
Anwyay, thanks for all the hard work on 5.0 alpha. I'm sure Lua 5.0 is
going to be great!
Gordon

AltStyle によって変換されたページ (->オリジナル) /