Getting the FLI to convert between types
If I have the following foreign function: (define-foreign-function (test "test") ((x :float)) :result-type :void) And I call it with an integer value: (test 1) This produces an error that '1' is not of type ':float'. I was wondering if there was something I could do to avoid this, or force Lisp to convert it before passing it onto the foreign function? Jeff M. -- http://www.retrobyte.org mailto:massung@gmail.com