dibyendumajumdar / ravi-ffi

FFI package for Ravi and Lua 5.3
Other
15 stars 1 forks source link

On x86-64 stack parameters must be in 8 byte slots #10

Closed dibyendumajumdar closed 5 years ago

dibyendumajumdar commented 6 years ago

It appears that the when passing float or int parameters it is not always ensured that the stack slots are 8 bytes. A fix was partially applied in the FB fork for only the add_int() function, but similar fixes are needed in get_int(), add_float(), get_float().