1 //===- SupportBindings.h - Additional bindings for Support ------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines additional C bindings for the Support component.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_BINDINGS_GO_LLVM_SUPPORTBINDINGS_H
15 #define LLVM_BINDINGS_GO_LLVM_SUPPORTBINDINGS_H
21 // This function duplicates the LLVMLoadLibraryPermanently function in the
22 // stable C API and adds an extra ErrMsg parameter to retrieve the error
24 void LLVMLoadLibraryPermanently2(const char *Filename, char **ErrMsg);