X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=bindings%2Focaml%2Ftarget%2Fllvm_target.mli;h=7c255ad4ad782e4a3db2609bca3d0a898754f73f;hp=f5426af1df11bf0b8495fe3c065295276bbc180f;hb=786a43e2d8f98034046b7fd3a78d94e57a466895;hpb=26f3bd89660e46a76a3b0267b23b00d917a45404 diff --git a/bindings/ocaml/target/llvm_target.mli b/bindings/ocaml/target/llvm_target.mli index f5426af1df1..7c255ad4ad7 100644 --- a/bindings/ocaml/target/llvm_target.mli +++ b/bindings/ocaml/target/llvm_target.mli @@ -47,7 +47,8 @@ external pointer_size : DataLayout.t -> int = "llvm_pointer_size" (** Returns the integer type that is the same size as a pointer on a target. See the method llvm::DataLayout::getIntPtrType. *) -external intptr_type : DataLayout.t -> Llvm.lltype = "llvm_intptr_type" +external intptr_type : DataLayout.t -> Llvm.llcontext -> Llvm.lltype + = "llvm_intptr_type" (** Computes the size of a type in bits for a target. See the method llvm::DataLayout::getTypeSizeInBits. *)