type
JackErrorCallback {.importc: "fuzzypippins".} = proc()
# this creates an error (func is reserved in Nim{rod}) ...
proc jack_set_error_function(func: JackErrorCallback) {.importc: "jack_set_error_function", header: jackh.}
# ... but results in this stupid error:
# jack.nim(237, 30) Error: ')' expected