]>
Commit | Line | Data |
---|---|---|
1 | //===- SupportBindings.h - Additional bindings for Support ------*- C++ -*-===// | |
2 | // | |
3 | // The LLVM Compiler Infrastructure | |
4 | // | |
5 | // This file is distributed under the University of Illinois Open Source | |
6 | // License. See LICENSE.TXT for details. | |
7 | // | |
8 | //===----------------------------------------------------------------------===// | |
9 | // | |
10 | // This file defines additional C bindings for the Support component. | |
11 | // | |
12 | //===----------------------------------------------------------------------===// | |
13 | ||
14 | #ifndef LLVM_BINDINGS_GO_LLVM_SUPPORTBINDINGS_H | |
15 | #define LLVM_BINDINGS_GO_LLVM_SUPPORTBINDINGS_H | |
16 | ||
17 | #ifdef __cplusplus | |
18 | extern "C" { | |
19 | #endif | |
20 | ||
21 | // This function duplicates the LLVMLoadLibraryPermanently function in the | |
22 | // stable C API and adds an extra ErrMsg parameter to retrieve the error | |
23 | // message. | |
24 | void LLVMLoadLibraryPermanently2(const char *Filename, char **ErrMsg); | |
25 | ||
26 | #ifdef __cplusplus | |
27 | } | |
28 | #endif | |
29 | ||
30 | #endif |