[OCaml] Build stub OCaml libraries for all configured targets
[oota-llvm.git] / bindings / ocaml / backends / llvm_backend.mli.in
1 (*===-- llvm_backend.mli.in - LLVM OCaml Interface ------------*- OCaml -*-===*
2  *
3  *                     The LLVM Compiler Infrastructure
4  *
5  * This file is distributed under the University of Illinois Open Source
6  * License. See LICENSE.TXT for details.
7  *
8  *===----------------------------------------------------------------------===*)
9
10 (** @TARGET@ Initialization.
11
12     This interface provides an OCaml API for initialization of
13     the @TARGET@ LLVM target. By referencing this module, you will cause
14     OCaml to load or link in the LLVM libraries corresponding to the target.
15     By calling [initialize], you will register components of this target
16     in the target registry, which is necessary in order to emit assembly,
17     object files, and so on. *)
18
19 external initialize : unit -> unit = "llvm_initialize_@TARGET@"