jmckaskill / luaffi

Standalone FFI library for calling C functions from lua. Compatible with the luajit FFI interface.
469 stars 84 forks source link

tonumber no longer works with 2 args #40

Closed justincormack closed 12 years ago

justincormack commented 12 years ago

you override tonumber but it no longer works in the case where there is a second argument... eg tonumber('100', 8) returns 100 not 64 after including ffi.