summaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2011-10-06 12:12:50 +0000
committerTorok Edwin <edwintorok@gmail.com>2011-10-06 12:12:50 +0000
commitc44943ed4f4f2d44b6668e6b51eb355f8310660c (patch)
tree315bd17a2494cbef968ab40d0fe70abf8179f458 /include/llvm-c
parent624c5edcd485a210faa61113f38938bdb6a0cc58 (diff)
downloadllvm-c44943ed4f4f2d44b6668e6b51eb355f8310660c.tar.gz
llvm-c44943ed4f4f2d44b6668e6b51eb355f8310660c.tar.bz2
llvm-c44943ed4f4f2d44b6668e6b51eb355f8310660c.tar.xz
C/OCaml API to retrieve struct name.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-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 84ddfbcf89..4569109b7c 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -403,6 +403,7 @@ LLVMTypeRef LLVMStructTypeInContext(LLVMContextRef C, LLVMTypeRef *ElementTypes,
LLVMTypeRef LLVMStructType(LLVMTypeRef *ElementTypes, unsigned ElementCount,
LLVMBool Packed);
LLVMTypeRef LLVMStructCreateNamed(LLVMContextRef C, const char *Name);
+const char *LLVMGetStructName(LLVMTypeRef Ty);
void LLVMStructSetBody(LLVMTypeRef StructTy, LLVMTypeRef *ElementTypes,
unsigned ElementCount, LLVMBool Packed);