Next Prev Up Top Contents Index

1.1.3 Calling foreign code

Calling the foreign code is the simplest part of using the FLI. The interface to the C function, defined using define-foreign-function , is called like any other Lisp function. In our example, the farenheit-to-celsius function takes the temperature in Farenheit as its only argument, and returns the temperature in Celsius.


LispWorks Foreign Language Interface User Guide and Reference Manual - 14 Dec 2001

Next Prev Up Top Contents Index