[cffi-devel] using cffi with db

Stephen Compall s11 at member.fsf.org
Sat Apr 29 20:59:14 UTC 2006


On Sat, 2006-04-29 at 15:26 -0500, Patrick X wrote:
> ? I'm rather new to Foreign Functions can it be uses to call other C files
> like db.h or would it be better to load the libdb.so file.

db.h contains no foreign functions.  It is a set of headings in C to
satisfy the C compiler's need for predeclarations of functions et al.

As you can see in the CFFI tutorial and documentation for
`load-foreign-library', the argument must be a linkable shared object.

-- 
Stephen Compall
http://scompall.nocandysw.com/blog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/cffi-devel/attachments/20060429/3047d6bf/attachment.sig>


More information about the cffi-devel mailing list