Marco Gidde <[EMAIL PROTECTED]> writes: > I just made a quick test with SBCL 0.9.12 on x86-64 and had to change > one line in pygetarg from > > (string (cffi:foreign-string-to-lisp (cffi:mem-ref variable :string))) > > to > > (string (cffi:mem-ref variable :string)) > > Someone else posted that everything worked fine for him with a very > similar configuration, so I *guess*, that it might be a change between > different CFFI versions. I ASDF-INSTALLed it a few weeks ago and it is > version 0.9.1. Maybe cvs CFFI is different in this regard?
Many (?) months ago, way before 0.9.0 (the first actual release of CFFI), the behaviour of MEM-REF (and others) changed so that the type translators are called (in this case, the :STRING type translator). So, MEM-REF will call FOREIGN-STRING-TO-LISP for you. -- Luís Oliveira luismbo (@) gmail (.) com http://student.dei.uc.pt/~lmoliv/ _______________________________________________ Gardeners mailing list [email protected] http://www.lispniks.com/mailman/listinfo/gardeners
