On Sun, 2014-03-30 at 08:14 -0700, Joeish W wrote: > I was just wondering why cffi doesn't do automatic conversions. Since > casting is used so much in c I think it would do automatic > conversions...Do experts in CFFI normally use this approach, do they > cast on the Lisp side or use another approach..I'd like to start > learning the best way to do things
There is no other approach to use. You must always pass the right type to CFFI, and do type coercions beforehand either explicitly or implicitly through custom types. -- Stelian Ionescu a.k.a. fe[nl]ix Quidquid latine dictum sit, altum videtur.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Cffi-devel mailing list Cffi-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/cffi-devel