package pbrt

  1. Overview
  2. Docs
Runtime library for Protobuf tooling

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-protoc-4.0.tbz
sha256=88533848ee8ad662bfb063f34932286405977fa3810515b997119b06f05105e4
sha512=df12c71f7181eafc94cd0fc400edf7f258cdd3740a5badafce097f771b7828fed9a9a9c0a457e7e118848a8b1ddd87fe3134a5bdf88d4adcb0d0e04ba6808c5f

doc/pbrt.options/Pbrt_options/index.html

Module Pbrt_options

Protobuf

module E : sig ... end

All exceptions which could be raised by the generated option parsers.

type constant =
  1. | Constant_string of string
  2. | Constant_bool of bool
  3. | Constant_int of int
  4. | Constant_float of float
  5. | Constant_literal of string
type message_literal = (string * value) list
and list_literal = value list
and value =
  1. | Scalar_value of constant
  2. | Message_literal of message_literal
  3. | List_literal of list_literal

Helper module for the generated code for common functionality

val string : value -> string -> string -> string
val float : value -> string -> string -> float
val int32 : value -> string -> string -> int32
val int64 : value -> string -> string -> int64
val int : value -> string -> string -> int
val bool : value -> string -> string -> bool
val bytes : value -> string -> string -> bytes
val unit : value -> string -> string -> unit