diff options
author | Torok Edwin <edwintorok@gmail.com> | 2011-10-06 12:13:28 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2011-10-06 12:13:28 +0000 |
commit | ff12c99d131789ccb9e8739963f4d8e0e95667d4 (patch) | |
tree | 6521aeecbb2e3bd1cb4ddde0ee50ac15ab99e548 /lib/VMCore | |
parent | 4917ec9ec775d7bc7fbc3362b4c576c32b7617f4 (diff) | |
download | external_llvm-ff12c99d131789ccb9e8739963f4d8e0e95667d4.zip external_llvm-ff12c99d131789ccb9e8739963f4d8e0e95667d4.tar.gz external_llvm-ff12c99d131789ccb9e8739963f4d8e0e95667d4.tar.bz2 |
ocaml/C bindings: type->isSized()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/Core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/VMCore/Core.cpp b/lib/VMCore/Core.cpp index b8d2baf..a6f04ae 100644 --- a/lib/VMCore/Core.cpp +++ b/lib/VMCore/Core.cpp @@ -167,6 +167,11 @@ LLVMTypeKind LLVMGetTypeKind(LLVMTypeRef Ty) { } } +LLVMBool LLVMTypeIsSized(LLVMTypeRef Ty) +{ + return unwrap(Ty)->isSized(); +} + LLVMContextRef LLVMGetTypeContext(LLVMTypeRef Ty) { return wrap(&unwrap(Ty)->getContext()); } |