package capnp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Handy central registry of all known interfaces, for logging.

val register : interface_id:Uint64.t -> name:string -> (int -> string option) -> unit

Used in the generated code to register the interfaces.

val pp_method : Format.formatter -> (Uint64.t * int) -> unit

pp_method is a formatter for (interface_id, method_id) pairs. It prints out qualified names, suitable for logging (e.g. "Foo.bar")

val pp_interface : Format.formatter -> Uint64.t -> unit
OCaml

Innovation. Community. Security.