![](https://secure.gravatar.com/avatar/51004fb1ed7a9faec361b6dd7787fc9f.jpg?s=120&d=mm&r=g)
29 Apr
2006
29 Apr
'06
8:59 p.m.
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