Lisp HUG Maillist Archive

DLL parameter conversions

Hi,
 
I am faced with the need to pass numeric values to a large number of DLL entrypoints expecting C-double values. I wonder why Lispworks chooses not to coerce integer values to double float when passed such arguments to a foreign-function. Instead, I must pepper my code with protective (float arg) operations in the DLL argument list, before calling the foreign function interface.
 
Cheers,
 
- David McClain
 
 
Updated at: 2020-12-10 09:01 UTC