impc:aot:insert-globalvar-binding-details   scheme


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

Implementation

(define impc:aot:insert-globalvar-binding-details
  (lambda (library name type docstring)
    (if (output-port? *impc:aot:current-output-port*)
        (begin
          (write
           (list (if *impc:compiler:aot:dll* 'bind-lib-val 'register-lib-val)
                 (string->symbol library)
                 (string->symbol name)
                 (string->symbol (impc:ir:pretty-print-type type))
                 docstring)
           *impc:aot:current-output-port*)
          (newline *impc:aot:current-output-port*)))))


Back to Index