chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] bugfix for C_i_foreign_unsigned_integer64_


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] bugfix for C_i_foreign_unsigned_integer64_argumentp
Date: Sun, 23 Dec 2012 17:57:07 +0100
User-agent: Mutt/1.4.2.3i

On Sun, Dec 23, 2012 at 04:15:58PM +0100, Felix wrote:
> The attached patch fixes a bug in an argument type test routine for
> foreign code invocations. This was reported by Kon Lovett and should
> fix #955. 

Thanks, pushed (and added a regression test to compiler-tests.scm).

I also noticed that there were two identical definitions for
##sys#foreign-unsigned-integer64-argument and none for
##sys#foreign-unsigned-integer-argument, probably due to a copy/paste
mistake.  I've fixed this as well.  Code using the unsigned-integer
argument type still worked, probably because of the rewrite rule in
c-platform.scm:988

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth



reply via email to

[Prev in Thread] Current Thread [Next in Thread]