bind-dylib   macro


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/runtime/llvmti.xtm

Implementation

(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)))


Back to Index

Similar Entries