lua-users home
lua-l archive

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


Thanks Alex - that got it!

It was clvalue(L->top-1) at this point in the code, but otherwise you were
right on the money. Perils of reverse engineering - I thought that parameter
was the upvalues counted with the previous parameter!

- John

Alex wrote:

I doubt this is it, but you should definitely pass something other then NULL

as the environment.

I'd recommend clvalue(L->top-2)->l.env, so that the sub functions global 
table is unchanged.

Attachment: smime.p7s
Description: S/MIME cryptographic signature