lua-users home
lua-l archive

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


> I cant see a problem in me patching this into lua_dump(),
> I think it is just luac and string.dump that use it,

Right. If you want stripping all the time, then just change 0 to 1 in the
call to luaU_dump.

> I was thinking about an optional parameter on string.dump.

Then you'd have to change the signature of lua_dump, which is no big deal.
Just make sure you change lua.h and lstrlib.c as well.
--lhf