[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Finding the main thread?
- From: Sam Roberts <vieuxtech@...>
- Date: Sat, 13 Feb 2010 12:46:36 -0800
On Sat, Feb 13, 2010 at 11:57 AM, M Joonas Pihlaja
> My alternate safe solution is to store the current lua_State in a
> global at every Lua -> C boundary, but that's a much more invasive
> change to my wrapper code unfortunately.
It is kindof tedious, but its the right way. And it will work with
both 5.1 and 5.2 (5.2 isn't exactly
sweeping the world by storm, 5.1 will be around for a while).