llvm:get-native-function   scheme


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

Implementation

;; a helper for returning a scheme closure native closure (if one exists!)
(define llvm:get-native-function
  (lambda (name)
    (if (impc:aot:currently-compiling?)
        (impc:compiler:print-not-during-aot-error)
        (llvm:get-function-pointer (string-append name "_native")))))


Back to Index