package DkSDKFFIOCaml_Std

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

C is the standard DkSDK FFI message format when OCaml is participating as an embedded guest of a C host platform.

It is conceptually similar to Capnp.BytesMessage, except all messages are allocated by the C host language.

The messages' segments (each message has one or more segments) are also reference counted. DkSDK will handle making the message segments non-appendable when messages are passed between OCaml and a host language. And in the current version of DkSDK message segments are not re-used. However, there is no mechanism in most Cap n' Proto host languages to make a message immutable. Therefore, do not mutate the message after sending it to a host language.

module Segment : sig ... end
module Message : sig ... end
module Slice : sig ... end
module StructStorage : sig ... end
module ListStorage : sig ... end
module Object : sig ... end
OCaml

Innovation. Community. Security.