lua-users home
lua-l archive

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


Just rewrite string.dump and use debug.getupvalue to do a sanity check
yourself.

> Alternatively, you could string.dump, pcall( load ) your function to
> sanity check it first.

It's probably undesirable that the function is called when it's dumped :P

Cheers,

-- 
-Patrick Donnelly

"One of the lessons of history is that nothing is often a good thing
to do and always a clever thing to say."

-Will Durant