From 877ee973e2d6ade85e38babbd303d96347c7dc8e Mon Sep 17 00:00:00 2001 From: Gordon Henriksen Date: Fri, 25 Apr 2008 03:21:19 +0000 Subject: [PATCH] PR2245: Misleading parameter name in llvm-c/Core.h:LLVMConstArray Applying fix by Frits van Bommel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50250 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm-c/Core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index 4ecf81cac50..b536bf5b2a7 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -306,7 +306,7 @@ LLVMValueRef LLVMConstRealOfString(LLVMTypeRef RealTy, const char *Text); /* Operations on composite constants */ LLVMValueRef LLVMConstString(const char *Str, unsigned Length, int DontNullTerminate); -LLVMValueRef LLVMConstArray(LLVMTypeRef ArrayTy, +LLVMValueRef LLVMConstArray(LLVMTypeRef ElementTy, LLVMValueRef *ConstantVals, unsigned Length); LLVMValueRef LLVMConstStruct(LLVMValueRef *ConstantVals, unsigned Count, int packed);