diff options
Diffstat (limited to 'bindings/ocaml/target/llvm_target.mli')
-rw-r--r-- | bindings/ocaml/target/llvm_target.mli | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bindings/ocaml/target/llvm_target.mli b/bindings/ocaml/target/llvm_target.mli index f5426af1df..7c255ad4ad 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. *) |