X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm-c%2FCore.h;h=73bff0b7ec4903b88c902986b0d33b47d2cde99c;hb=d34142ebf7bb4b9ced2ad950662d5b90678f1d0d;hp=effbd15c10ddf8ac89bb4f14209982fe36d206ff;hpb=0880fe599726621c3368278208ef6ec7555cacd8;p=oota-llvm.git diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index effbd15c10d..73bff0b7ec4 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -997,6 +997,13 @@ unsigned LLVMCountStructElementTypes(LLVMTypeRef StructTy); */ void LLVMGetStructElementTypes(LLVMTypeRef StructTy, LLVMTypeRef *Dest); +/** + * Get the type of the element at a given index in the structure. + * + * @see llvm::StructType::getTypeAtIndex() + */ +LLVMTypeRef LLVMStructGetTypeAtIndex(LLVMTypeRef StructTy, unsigned i); + /** * Determine whether a structure is packed. *