[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: procedure->pointer bug
From: |
Ludovic Courtès |
Subject: |
Re: procedure->pointer bug |
Date: |
Tue, 29 Mar 2011 23:36:26 +0200 |
User-agent: |
Gnus/5.110013 (No Gnus v0.13) Emacs/23.3 (gnu/linux) |
Hi,
Tristan Colgate <address@hidden> writes:
> Think I found a problem with void returns for pointer->procedure,
> the following gives a segfault...
A SIGABRT actually.
> (use-modules (system foreign))
>
> (define (myproc)
> (display "hello")(newline))
>
> ((pointer->procedure
> void
> (procedure->pointer void myproc '())
> '()))
Fixed in 443f25dcff49f0a920d4149e29bcb3ae9f64ee02.
Thanks!
Ludo’.