Hi,

  Think I found a problem with void returns for pointer->procedure,
the following gives a segfault...

(use-modules (system foreign))

(define (myproc)
 (display "hello")(newline))

((pointer->procedure
  void
  (procedure->pointer void myproc '())
  '()))


replacing the void returns with an int gives the correct behaviour.

-- 
Tristan Colgate-McFarlane
----
  "You can get all your daily vitamins from 52 pints of guiness, and a
glass of milk"

Reply via email to