lua-users home
lua-l archive

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


The number of params is stored on 8 bits, so you overflow. You need to patch function structure, the dumper and the undumper to change it into a short.

On Fri, Jul 16, 2010 at 10:27 AM, Matthieu CARON <matbbox@hotmail.fr> wrote:
Hi Folks

I changed the Lua value of MAXSTACK in llimits.h and set it to 1000
Now the function works fine for more than 250 arguments, but I can't go over 256 arguments.