Change linkInModule to take a std::unique_ptr.
[oota-llvm.git] / bindings / ocaml / linker / llvm_linker.mli
index 06c3b92a577e9d34b1dfb4fc429ee5230bf0250d..5f558ffb1162ac50db5249735afcd6fa8c7087b5 100644 (file)
@@ -14,6 +14,6 @@
 
 exception Error of string
 
-(** [link_modules dst src mode] links [src] into [dst], raising [Error]
-    if the linking fails. *)
-val link_modules : Llvm.llmodule -> Llvm.llmodule -> unit
\ No newline at end of file
+(** [link_modules' dst src] links [src] into [dst], raising [Error]
+    if the linking fails. The src module is destroyed. *)
+val link_modules' : Llvm.llmodule -> Llvm.llmodule -> unit
\ No newline at end of file