1 (*===-- llvm_bitwriter.mli - LLVM Ocaml Interface ---------------*- C++ -*-===*
3 * The LLVM Compiler Infrastructure
5 * This file is distributed under the University of Illinois Open Source
6 * License. See LICENSE.TXT for details.
8 *===----------------------------------------------------------------------===*)
12 This interface provides an ocaml API for the LLVM bitcode writer, the
13 classes in the Bitwriter library. *)
15 (** [write_bitcode_file m path] writes the bitcode for module [m] to the file at
16 [path]. Returns [true] if successful, [false] otherwise. *)
17 external write_bitcode_file : Llvm.llmodule -> string -> bool
18 = "llvm_write_bitcode_file"