package capnp-rpc

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

Install

Dune Dependency

Authors

Maintainers

Sources

capnp-rpc-2.1.tbz
sha256=4b59a4147cf6e49c650dbfa4cdb918aec3be69cffd1ef6b5c818584464feb987
sha512=69114597e9cd8ad42c72c1751796b216f98f2a9f09f50a0628b4a3259c2f9b169fd47a73be7b76cfda298a6c202bc79762116865272e35ca0d0914242ace34d7

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
OCaml

Innovation. Community. Security.