(define-macro (bind-dylib library lib-path . args) (let ((path (eval lib-path))) (if (string? path) (set! path (list path))) (apply impc:aot:insert-load-dylib-details library path args) `(impc:ti:bind-dylib ',library ',path)))