Hi!
I am trying to call a c function with an argument passed by address.
Reading the documentation in
file:/usr/local/acl5/doc/cl/foreign_functions.htm#5.1,
Modifying arguments called by address: use arrays
I found the example:
(ff:def-foreign-call `itimes2 ((simple-array fixnum (1)))
:convention :fortran :returning :void)
However, changing the obvious mistakes to:
(ff:def-foreign-call itimes2 ((dice (simple-array fixnum (1))))
:convention :c :returning :void)
I get the error:
Error: don't know how to convert type: (SIMPLE-ARRAY FIXNUM (1))
[condition type: SIMPLE-ERROR]
Could somebody please show me an example of a call by address in a
def-foreign-call. That will save me some testing time.
Thanks,
--
myriam
Go Proverb:
Take the cutting stone on the second line.