1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
2011-07-27 07:17:02 -07:00
|
|
|
(* OCaml *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Copyright 1996 Institut National de Recherche en Informatique et *)
|
1999-11-17 10:59:06 -08:00
|
|
|
(* en Automatique. All rights reserved. This file is distributed *)
|
|
|
|
(* under the terms of the Q Public License version 1.0. *)
|
1995-08-09 08:06:35 -07:00
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
2003-12-31 06:20:40 -08:00
|
|
|
external global_data : unit -> Obj.t array = "caml_get_global_data"
|
|
|
|
external realloc_global_data : int -> unit = "caml_realloc_global"
|
2014-04-29 04:56:17 -07:00
|
|
|
external static_alloc : int -> bytes = "caml_static_alloc"
|
|
|
|
external static_free : bytes -> unit = "caml_static_free"
|
|
|
|
external static_resize : bytes -> int -> bytes = "caml_static_resize"
|
|
|
|
external static_release_bytecode : bytes -> int -> unit
|
2010-01-22 04:48:24 -08:00
|
|
|
= "caml_static_release_bytecode"
|
1996-05-28 05:40:09 -07:00
|
|
|
type closure = unit -> Obj.t
|
2014-04-29 04:56:17 -07:00
|
|
|
external reify_bytecode : bytes -> int -> closure = "caml_reify_bytecode"
|
1998-09-11 10:38:44 -07:00
|
|
|
external invoke_traced_function : Obj.t -> Obj.t -> Obj.t -> Obj.t
|
2003-12-31 06:20:40 -08:00
|
|
|
= "caml_invoke_traced_function"
|
2004-02-22 07:07:51 -08:00
|
|
|
external get_section_table : unit -> (string * Obj.t) list
|
2010-01-22 04:48:24 -08:00
|
|
|
= "caml_get_section_table"
|
2015-09-11 04:58:31 -07:00
|
|
|
external add_debug_info :
|
|
|
|
bytes -> int -> Instruct.debug_event list array -> unit
|
2015-02-08 06:10:12 -08:00
|
|
|
= "caml_add_debug_info"
|
|
|
|
external remove_debug_info : bytes -> unit
|
|
|
|
= "caml_remove_debug_info"
|