val reset : ?packname:string -> string -> unit
val unit_id_from_name : string -> Ident.t
val current_unit_name : unit -> string
val current_unit_symbol : unit -> Symbol.t
val make_symbol : ?unitname:string -> string option -> string
val symbol_in_current_unit : string -> bool
val is_predefined_exception : Symbol.t -> bool
val symbol_for_global : Ident.t -> string
val record_global_approx_toplevel : unit -> unit
val need_curry_fun : int -> unit
val need_apply_fun : int -> unit
val need_send_fun : int -> unit
val new_const_symbol : unit -> string
val clear_structured_constants : unit -> unit
val add_exported_constant : string -> unit
type structured_constants
val save_unit_info : string -> unit
val require_global : Ident.t -> unit
type error =
| Not_a_unit_info of string
| Corrupted_unit_info of string
| Illegal_renaming of string * string * string