On Sun, 22 Mar 2015, Jonas Maebe wrote:
On 22/03/15 10:38, Michael Van Canneyt wrote:
My - and Florian Klaempfl's, if I understood correctly - idea is to
include what exists, and then modify the code as needed so it can work
with libffi. Others fear that this will mean the ffi wrapper will not
get written anytime soon.
The entire code will have to be rewritten to add support for any other
platform regardless of whether libffi is used or not. I'm not even sure
if the current code can work for ARMHF and floating point parameters
(which have to be passed in vector registers).
Again: it has nothing to do with libffi in particular, and everything
with not being generic (although if it's generic, that will obviously
also help a manager/libffi implementation).
True. I just used libffi as one way out using a "generic approach".
Michael.
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel