package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a heap
type 'a descr
val create_heap : Netmcore.res_id -> int -> 'a -> 'a heap
val minimum_size : 'a -> int
val root : 'a heap -> 'a
val descr_of_heap : 'a heap -> 'a descr
val heap_of_descr : Netmcore.res_id -> 'a descr -> 'a heap
type mutator
val modify : 'a heap -> (mutator -> 'r) -> 'r
val add : mutator -> 'a -> 'a
val add_immutable : mutator -> 'a -> 'a
val add_uniform_array : mutator -> int -> 'a -> 'a array
val add_init_array : mutator -> int -> (int -> 'a) -> 'a array
val add_some : mutator -> 'a -> 'a option
val add_string : mutator -> int -> string
val pin : mutator -> 'a -> unit
val copy : 'a -> 'a
val with_value : 'a heap -> (unit -> 'b) -> ('b -> 'c) -> 'c
val with_value_2 : 'a heap -> (unit -> 'b * 'c) -> (('b * 'c) -> 'z) -> 'z
val with_value_3 : 'a heap -> (unit -> 'b * 'c * 'd) -> (('b * 'c * 'd) -> 'z) -> 'z
val with_value_4 : 'a heap -> (unit -> 'b * 'c * 'd * 'e) -> (('b * 'c * 'd * 'e) -> 'z) -> 'z
val with_value_5 : 'a heap -> (unit -> 'b * 'c * 'd * 'e * 'f) -> (('b * 'c * 'd * 'e * 'f) -> 'z) -> 'z
val with_value_n : 'a heap -> (unit -> 'b list) -> ('b list -> 'c) -> 'c
val destroy : 'a heap -> unit
val gc : 'a heap -> unit
val pool : 'a heap -> Netmcore.res_id
val mut_pool : mutator -> Netmcore.res_id
val sem_container : 'a heap -> Netsys_sem.container
val mut_sem_container : mutator -> Netsys_sem.container
val debug_info : 'a heap -> string
module Debug : sig ... end
OCaml

Innovation. Community. Security.