aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-02 00:16:38 +0000
committerOwen Anderson <resistor@mac.com>2009-07-02 00:16:38 +0000
commitdc90e01ec80100bdba5fa23316a798eff0a9cd03 (patch)
tree2a61d91e427467d69af9f736d7e0d3b80b8d4560 /include
parent25cb6d164db22af4761e5c12359fb10b67d00642 (diff)
downloadexternal_llvm-dc90e01ec80100bdba5fa23316a798eff0a9cd03.zip
external_llvm-dc90e01ec80100bdba5fa23316a798eff0a9cd03.tar.gz
external_llvm-dc90e01ec80100bdba5fa23316a798eff0a9cd03.tar.bz2
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')
-rw-r--r--include/llvm-c/Core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 7019b4c..c022c10 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. */