blob: 7f03ede604a266021fadaa73b7599e5b47e083a9 [file] [log] [blame]
Peter Zotov34ddbf12013-11-06 09:21:31 +00001/*===-- llvm-c/Support.h - Support C Interface --------------------*- 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 the C interface to the LLVM support library. *|
11|* *|
12\*===----------------------------------------------------------------------===*/
13
14#ifndef LLVM_C_SUPPORT_H
15#define LLVM_C_SUPPORT_H
16
17#include "llvm-c/Core.h"
Peter Zotov34ddbf12013-11-06 09:21:31 +000018
19#ifdef __cplusplus
20extern "C" {
21#endif
22
23/**
24 * This function permanently loads the dynamic library at the given path.
25 * It is safe to call this function multiple times for the same library.
26 *
27 * @see sys::DynamicLibrary::LoadLibraryPermanently()
28 */
29LLVMBool LLVMLoadLibraryPermanently(const char* Filename);
30
31#ifdef __cplusplus
32}
33#endif
34
NAKAMURA Takumi29c3b552013-11-07 13:54:24 +000035#endif