(bind-func PaHostErrorInfo_print
"specialised print function for PaHostErrorInfo*"
(lambda (errinfo:PaHostErrorInfo*)
(if (null? errinfo)
(printf "<PaHostErrorInfo 0x0>")
(printf "<PaHostErrorInfo %p
type: %d
error code: %ld
message: %s>"
errinfo
(tref errinfo 0)
(tref errinfo 1)
(tref errinfo 2)))
void))