[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: RE: Lua 5 vs Lua 4
- From: Brian Weed <bw@...>
- Date: Mon, 15 Sep 2003 13:37:40 -0400
Ok, so I have alternatives for all except LUA_ERRORMESSAGE.
In Lua v4.x I overloaded the Lua "_ERRORMESSAGE" global error handler
function so that any errors detected by Lua would call my error handler
instead of it's own. But now that function is gone, and I am wondering how
I can do this in v5.
[mailto:email@example.com]On Behalf Of Asko Kauppi
Sent: Friday, September 12, 2003 3:23 PM
To: Lua list
Subject: Re: Lua 5 vs Lua 4
userdata: isn't it there? I did make a 4/5 compatibility layer above
this anyways, you might want to take a look at 'gluax_50.c' (part of
getglobals: something like 'getfenv' or so now.. (function environment)
I was actually one of the people for the name change but ..now later..
would actually like the old terminology back. ;)
Lua on OS X: I use it all the time, but via gluax (no OS X specific
stuff, graphics go via SDL etc.) What's your concern?
Brian Weed kirjoittaa perjantaina, 12. syyskuuta 2003, kello 20:06:
> Can someone point me to information about what happened to the
> following :
> and alternatives that I should use instead.
> Also, has anyone successfully used Lua 5 on the Mac (specifically
> Carbon) or
> know of any caveats?
> Brian Weed
> Senior Software Architect
> ImaginEngine Corp.