<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">Hi again,<br><br>To update on my previous problems: I've since discovered a C interface to the C++ library I've been trying to generate bindings for, and<br>I can now load the resultant bindings file. :)<br><br>I have a new problem, though (which is probably CFFI-specific, but I thought it best to post here as I'm only using CFFI in the context of Verrazano).<br>When I try and call any of my generated functions I get  errors which I don't understand. For example the following function -<br><br>TEST[4]>  (analyzer-configure (* .8 415.0) 415.0)<br>*** - FFI::FOREIGN-CALL-OUT: 332.0 cannot be converted to the foreign type DOUBLE-FLOAT<br><br>Here is how it's defined in my bindings -<br><br>(cffi:defcfun ("analyzer_configure" analyzer-configure) :void (resolution :double) (windowWidth :double))<br><br>The function configures an FFT analyzer. But why is the standard Lisp type double-float being referred to as a foreign type? Or am I <br>not understanding things correctly?<br><br>Cheers for any suggestions,<br>Chris<br><br><br></div><br /><hr />Messenger on the move. <a href='http://mobile.uk.msn.com/pc/messenger.aspx ' target='_new'>Text MSN to 63463 now!</a></body>
</html>