My working unpac repository
at opam/upstream/seq 34 lines 1.7 kB view raw
1(**************************************************************************) 2(* *) 3(* OCaml *) 4(* *) 5(* Jerome Vouillon, projet Cristal, INRIA Rocquencourt *) 6(* *) 7(* Copyright 1996 Institut National de Recherche en Informatique et *) 8(* en Automatique. *) 9(* *) 10(* All rights reserved. This file is distributed under the terms of *) 11(* the GNU Lesser General Public License version 2.1, with the *) 12(* special exception on linking described in the file LICENSE. *) 13(* *) 14(**************************************************************************) 15 16open Lambda 17 18val oo_prim: string -> lambda 19 20val share: structured_constant -> lambda 21val meth: lambda -> string -> lambda * lambda list 22 23val reset_labels: unit -> unit 24val transl_label_init: (unit -> lambda) -> lambda 25val transl_store_label_init: 26 Ident.t -> int -> ('a -> lambda) -> 'a -> int * lambda 27 28val method_ids: Ident.Set.t ref (* reset when starting a new wrapper *) 29 30val oo_wrap: Env.t -> bool -> ('a -> lambda) -> 'a -> lambda 31val oo_wrap_gen: Env.t -> bool -> ('a -> lambda * 'b) -> 'a -> lambda * 'b 32val oo_add_class: Ident.t -> Env.t * bool 33 34val reset: unit -> unit