[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: on what *L to execute a callback from c
- From: Sam Roberts <vieuxtech@...>
- Date: Fri, 11 May 2012 21:58:59 -0700
On Fri, May 11, 2012 at 12:24 PM, Thijs Schreijer
> Final verdict then; there is no difference, any *L will do, as long as it is
> valid and originates from the same global lua state
Thomas Harning's suggestion is the best way, IMO.
When lua calls into your C code, it passes you an L, you should use no
L but it, until you return, and then use it nevermore.