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 _______________________________________________ Chicken-hackers mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-hackers
