FFI: Fix calling conventions for 32 bit OSX and iOS simulator.
commit5dabdb2e70799bdd9973495e0e00946e4495eece
authorMike Pall <mike>
Thu, 16 May 2013 12:35:00 +0000 (16 14:35 +0200)
committerMike Pall <mike>
Thu, 16 May 2013 12:35:00 +0000 (16 14:35 +0200)
tree3ea61f5678b6066ae6bfcf66bad72f1182a038f4
parent1a5fd521b830a8aa17c12d2e707d167722e8c7b1
FFI: Fix calling conventions for 32 bit OSX and iOS simulator.

OSX uses -freg-struct-return, which returns small structs in regs.
Thanks to Adriano Bertucci.
src/lj_ccall.c