This file defines the C interface to the LLVM support library.
Bool = cint
-
MemoryBufferRef = ptr object
-
Used to pass regions of memory through LLVM interfaces.
proc loadLibraryPermanently(filename: cstring): Bool {.
importc: "LLVMLoadLibraryPermanently", cdecl, dynlib: dllname.}
-
This function permanently loads the dynamic library at the given path. It is safe to call this function multiple times for the same library.