FFI: Change tonumber(cdata) semantics. Return nil for non-numbers.
commit22946f268b1b25820c1d026779c147db314f7135
authorMike Pall <mike>
Mon, 6 Jun 2011 17:56:55 +0000 (6 19:56 +0200)
committerMike Pall <mike>
Mon, 6 Jun 2011 17:56:55 +0000 (6 19:56 +0200)
treec8b67dd956edda831d87af34748afa11a890c296
parenta48058a791266fbbda14363f6f6530aff66b0f23
FFI: Change tonumber(cdata) semantics. Return nil for non-numbers.
src/lib_base.c
src/lj_crecord.c