lua-users home
lua-l archive

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


On Fri, May 11, 2012 at 12:24 PM, Thijs Schreijer
<thijs@thijsschreijer.nl> wrote:
> 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.

Sam