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.