diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-07-06 17:29:59 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-07-06 17:29:59 +0000 |
| commit | be7eabb3a388cb36a9cccdf5ee52ba305273f1de (patch) | |
| tree | da224efd618c4ea5a371c33cbd06afcc7e6da9f0 /include | |
| parent | 76f1abd97844fca78e07101eefcc11f095ebe2f2 (diff) | |
| download | external_llvm-be7eabb3a388cb36a9cccdf5ee52ba305273f1de.zip external_llvm-be7eabb3a388cb36a9cccdf5ee52ba305273f1de.tar.gz external_llvm-be7eabb3a388cb36a9cccdf5ee52ba305273f1de.tar.bz2 | |
Add two new accessors to the C bindings, patch by Wladimir van der Laan!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74836 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm-c/Core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 3538c08..e0eaf9b 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -218,6 +218,7 @@ void LLVMSetTarget(LLVMModuleRef M, const char *Triple); /** See Module::addTypeName. */ int LLVMAddTypeName(LLVMModuleRef M, const char *Name, LLVMTypeRef Ty); void LLVMDeleteTypeName(LLVMModuleRef M, const char *Name); +LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name); /** See Module::dump. */ void LLVMDumpModule(LLVMModuleRef M); @@ -398,6 +399,7 @@ LLVMValueRef LLVMGetUndef(LLVMTypeRef Ty); int LLVMIsConstant(LLVMValueRef Val); int LLVMIsNull(LLVMValueRef Val); int LLVMIsUndef(LLVMValueRef Val); +LLVMValueRef LLVMConstPointerNull(LLVMTypeRef Ty); /* Operations on scalar constants */ LLVMValueRef LLVMConstInt(LLVMTypeRef IntTy, unsigned long long N, |
