This corrects an error in the type of the Llvm.dispose_context function.
[oota-llvm.git] / bindings / ocaml / llvm / llvm.mli
index c703ef7fbf0b2258e8b021178d319e994518374d..719df430fab94f1402bd5930bfa5e8421d11e4d0 100644 (file)
@@ -214,7 +214,7 @@ external create_context : unit -> llcontext = "llvm_create_context"
 
 (** [destroy_context ()] destroys a context. See the destructor
     [llvm::LLVMContext::~LLVMContext]. *)
-external dispose_context : unit -> llcontext = "llvm_dispose_context"
+external dispose_context : llcontext -> unit = "llvm_dispose_context"
 
 (** See the function [llvm::getGlobalContext]. *)
 external global_context : unit -> llcontext = "llvm_global_context"