[Ecls-list] FFI bug?

Goffioul Michael goffioul at imec.be
Fri Sep 2 04:13:04 UTC 2005


> -----Original Message-----
> From: ecls-list-admin at lists.sourceforge.net 
> [mailto:ecls-list-admin at lists.sourceforge.net]On Behalf Of Nike
> Sent: Friday, September 02, 2005 11:13
> To: ecls-list at lists.sourceforge.net
> Subject: [Ecls-list] FFI bug?
> 
> 
> 
> 	UFFI specification is not very clear on the subject, 
> but it looks like
> a bug.
> 
> > (compile-file "bug" :load t) ; bug.lisp is attached
> ;;; Loading #P"/usr/lib/ecl/cmp.fas"
> ...
> ;;; Finished compiling bug.
> #P"bug.fas"
> > (f1)
> 1804289383
> > (f2)
> #<foreign :INT 327b23c6>
> 
> 	Shouldn't f2 return a fixnum, just like f1 does?

Yes, it's a bug in def-function macro. I'll try to fix it ASAP.

Michael.




More information about the ecl-devel mailing list