From: Lu’s Oliveira Date: 13 June 2006 00:24:45 BDT To: gardeners@lispniks.com Subject: Re: [Gardeners] python-on-lisp needs help Reply-To: Tending the Lisp Garden Marco Gidde 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 Gardeners@lispniks.com http://www.lispniks.com/mailman/listinfo/gardeners