ffi/ffi — pull request #218 by terceiro (2012-08-04 19:53:28+00:00)
Title: Fix call to variadic functions

This changes the call to ffi_prep_cif into a call to ffi_prep_cif_var,
which is the improved libffi API for calling variadic functions.

Calling variadic functions with floating point arguments with
ffi_prep_cif currently only breaks in armhf, but could also break on
other architectures where the ABI for variadic functions is different
from what you would expect.

For more information, please check the following message to the libffi
development mailing list:
http://permalink.gmane.org/gmane.comp.lib.ffi.general/277