llvm_bitwriter.mli revision 8ef426baa36639458f6777309db25c1768dc9c8a
1(*===-- llvm_bitwriter.mli - LLVM Ocaml Interface ---------------*- C++ -*-===*
2 *
3 *                     The LLVM Compiler Infrastructure
4 *
5 * This file was developed by Gordon Henriksen and is distributed under the
6 * University of Illinois Open Source License. See LICENSE.TXT for details.
7 *
8 *===----------------------------------------------------------------------===
9 *
10 * This interface provides an ocaml API for the LLVM bitcode writer, the
11 * classes in the classes in the Bitwriter library.
12 *
13 *===----------------------------------------------------------------------===*)
14
15
16(* Writes the bitcode for module the given path. Returns true if successful. *)
17external write_bitcode_file : Llvm.llmodule -> string -> bool
18                            = "llvm_write_bitcode_file"
19