1995-08-09 08:06:35 -07:00
|
|
|
(***********************************************************************)
|
|
|
|
(* *)
|
1996-04-30 07:53:58 -07:00
|
|
|
(* Objective Caml *)
|
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
|
|
|
(* *)
|
|
|
|
(***********************************************************************)
|
|
|
|
|
|
|
|
(* $Id$ *)
|
|
|
|
|
1995-07-12 08:32:29 -07:00
|
|
|
(* To control the runtime system and bytecode interpreter *)
|
|
|
|
|
|
|
|
external global_data : unit -> Obj.t array = "get_global_data"
|
|
|
|
external realloc_global_data : int -> unit = "realloc_global"
|
|
|
|
external static_alloc : int -> string = "static_alloc"
|
|
|
|
external static_free : string -> unit = "static_free"
|
|
|
|
external static_resize : string -> int -> string = "static_resize"
|
1996-05-28 05:40:09 -07:00
|
|
|
type closure = unit -> Obj.t
|
|
|
|
external reify_bytecode : string -> int -> closure = "reify_bytecode"
|
1998-09-11 10:38:44 -07:00
|
|
|
external invoke_traced_function : Obj.t -> Obj.t -> Obj.t -> Obj.t
|
|
|
|
= "invoke_traced_function"
|