diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-02 00:16:38 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-02 00:16:38 +0000 |
commit | c70e62110b7e165ab8f04c38ffd97f905dcda95d (patch) | |
tree | 2a61d91e427467d69af9f736d7e0d3b80b8d4560 /include/llvm-c | |
parent | 1bc1e6407f4015d0eb5d0ff815ddab6b1ba5e5f8 (diff) |
Add a C wrapper for accessing the global default context.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r-- | include/llvm-c/Core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 7019b4cc66..c022c10177 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -195,6 +195,7 @@ void LLVMDisposeMessage(char *Message); /* Create and destroy contexts. */ LLVMContextRef LLVMContextCreate(); +LLVMContextRef LLVMGetGlobalContext(); void LLVMContextDispose(LLVMContextRef C); /* Create and destroy modules. */ |