summaryrefslogtreecommitdiff
path: root/include/llvm-c
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-12-17 16:08:32 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-12-17 16:08:32 +0000
commit57cebeec7ba08b55f29f5bf98ad0a3a17e9d0c71 (patch)
tree7c0fd6ef432b8676a5cf19c374b330842c4e5456 /include/llvm-c
parent4374f8e208806ae4ffaa57a4b69eba5571207ba1 (diff)
downloadllvm-57cebeec7ba08b55f29f5bf98ad0a3a17e9d0c71.tar.gz
llvm-57cebeec7ba08b55f29f5bf98ad0a3a17e9d0c71.tar.bz2
llvm-57cebeec7ba08b55f29f5bf98ad0a3a17e9d0c71.tar.xz
C and Ocaml bindings for address spaces, for that burgeoning market
for Ocaml-based compilers targeting embedded devices. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45096 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm-c')
-rw-r--r--include/llvm-c/Core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h
index 696ef6a168..4ed2bd0c60 100644
--- a/include/llvm-c/Core.h
+++ b/include/llvm-c/Core.h
@@ -194,11 +194,12 @@ int LLVMIsPackedStruct(LLVMTypeRef StructTy);
/* Operations on array, pointer, and vector types (sequence types) */
LLVMTypeRef LLVMArrayType(LLVMTypeRef ElementType, unsigned ElementCount);
-LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType);
+LLVMTypeRef LLVMPointerType(LLVMTypeRef ElementType, unsigned AddressSpace);
LLVMTypeRef LLVMVectorType(LLVMTypeRef ElementType, unsigned ElementCount);
LLVMTypeRef LLVMGetElementType(LLVMTypeRef Ty);
unsigned LLVMGetArrayLength(LLVMTypeRef ArrayTy);
+unsigned LLVMGetPointerAddressSpace(LLVMTypeRef PointerTy);
unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
/* Operations on other types */