Hi,

Tristan Colgate <[email protected]> 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’.


Reply via email to