Add copyright notices and new function String.chomp
[ocaml.git] / bytecomp / meta.ml
blobc03523fbcb41a7af9c1eb9b66286154a9d53be85
1 (***********************************************************************)
2 (* *)
3 (* Objective Caml *)
4 (* *)
5 (* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
6 (* *)
7 (* Copyright 1996 Institut National de Recherche en Informatique et *)
8 (* en Automatique. All rights reserved. This file is distributed *)
9 (* under the terms of the Q Public License version 1.0. *)
10 (* *)
11 (***********************************************************************)
13 (* $Id$ *)
15 external global_data : unit -> Obj.t array = "caml_get_global_data"
16 external realloc_global_data : int -> unit = "caml_realloc_global"
17 external static_alloc : int -> string = "caml_static_alloc"
18 external static_free : string -> unit = "caml_static_free"
19 external static_resize : string -> int -> string = "caml_static_resize"
20 external static_release_bytecode : string -> int -> unit = "caml_static_release_bytecode"
21 type closure = unit -> Obj.t
22 external reify_bytecode : string -> int -> closure = "caml_reify_bytecode"
23 external invoke_traced_function : Obj.t -> Obj.t -> Obj.t -> Obj.t
24 = "caml_invoke_traced_function"
25 external get_section_table : unit -> (string * Obj.t) list
26 = "caml_get_section_table"