package capnp-rpc

  1. Overview
  2. Docs
Cap'n Proto is a capability-based RPC system with bindings for many languages

Install

dune-project
 Dependency

Authors

Maintainers

Sources

capnp-rpc-2.1.2.tbz
sha256=ef3f64b22d90bfe87f96e751bc61d29646c970032803c4135bec8626aecf704d
sha512=41731da19a0ec67ae8d519f70ba95bae143493df64133965e9dfd9eb7ca33c745efa6047f8784689be6230a2fefd77649b61635e9b713366e42fd8e89ee07512

doc/capnp-rpc.proto/Capnp_rpc_proto/Cap_proxy/Make/argument-1-C/class-ref_counted/index.html

Class C.ref_counted

A mix-in to help with writing reference-counted objects. It will call self#release when the ref-count reaches zero.

method private virtual release : unit
method virtual pp : Format.formatter -> unit
method private pp_refcount : Format.formatter -> unit

Write the current ref-count to the formatter (use with "%t").

method private check_refcount : unit

Raise an exception if the ref-count is less than one (i.e. check that the object hasn't already been freed).

method update_rc : int -> unit
method check_invariants : unit
method virtual blocker : base_ref option
method sealed_dispatch : 'a. 'a Capnp_rpc_proto__.S.brand -> 'a option