[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: luadump
- From: "D Burgess" <dburgess@...>
- Date: Sat, 29 Apr 2006 08:29:17 +1000
David Given wrote:
(Except in the debugging
code, with you remove with the luac -s option.)
Mike Pall wrote:
Which reminds me: I don't need it for obfuscation, but to save
space. luac uses the internal function luaU_dump() since the
option to strip debug symbols is missing from string.dump and
lua_dump().
To the Lua team: Can we get this functionality exposed to the
API? Thank you!
A timely reminder. Forgive me for asking(instead of reading code),
but does it make sense to have the strip symbol option available
on lua_load().or luaL_loadfile().
I have (patched) code that currently has a sequnce like:
luaL_loadfile()
luaU_dump() -- with stripping
luaL_loadfile()
It would be nice if it was just:
luaL_loadfile(L, filename,bStrip);
DB