The integrated cross-platform development tool for ANSI Common Lisp LispWorks logo

Lisp Knowledgebase



Title: Passing floats to FLI functions not working

ID: 17036


Product: LispWorks
Version: All
OS: All

Description:
A C function called via the FLI receives all its floating point parameters as 0.0.

This can occur if your C function expects a float and your fli:define-foreign-function form specifies :language :c.

The solution is to specify (fli:define-foreign-function ... :language :ansi-c).

See Also:
Workaround:
Patch:

Hardware:N/A
Summary:
Bug#:
Patch Enhancement#:
Reported:

Top | Back