[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Seriali[sz]ation of functions...
- From: Petite Abeille <petite.abeille@...>
- Date: Sun, 17 Feb 2008 10:04:54 +0100
On Feb 17, 2008, at 5:40 AM, Duck wrote:
Is there any way to determine that a function is suitable for
seriali[sz]ation with string.dump() other than by using
to check if it has upvalues?
What's wrong with debug.getupvalue?
Alternatively, you could string.dump, pcall( load ) your function to
sanity check it first.