diff options
author | Chris Lattner <sabre@nondot.org> | 2011-07-14 16:20:28 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-07-14 16:20:28 +0000 |
commit | 61afc8820f2bc85f7b7158850a0250f9d8c1ebaa (patch) | |
tree | 268cb787942e1b206d44377484d94eccc3016179 /include | |
parent | c7e33965f0690d407d2ec2dc8036a58af94c0542 (diff) |
add a couple more missing C api, patch by Vitaly Lugovskiy!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135151 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm-c/Core.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index e3dce581ee..fc33ab7f82 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -394,6 +394,9 @@ void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes, unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy); void LLVMGetStructElementTypes(LLVMTypeRef StructTy, LLVMTypeRef *Dest); LLVMBool LLVMIsPackedStruct(LLVMTypeRef StructTy); +LLVMBool LLVMIsOpaqueStruct(LLVMTypeRef StructTy); + +LLVMTypeRef LLVMGetTypeByName(LLVMModuleRef M, const char *Name); /* Operations on array, pointer, and vector types (sequence types) */ LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount); |