(bind-func PaHostApiInfo_toString
"specialised toString function for PaHostApiInfo*"
(lambda (info:PaHostApiInfo*)
(let ((str:i8* (salloc 256)))
(if (null? info)
(sprintf str "<PaHostApiInfo 0x0>")
(sprintf str "<PaHostApiInfo %p
version: %d
type: %d
name: %s
device count: %d
default input: %d
default output: %d>"
info
(tref info 0)
(tref info 1)
(tref info 2)
(tref info 3)
(tref info 4)
(tref info 5)))
(Str str))))