package pbrt

  1. Overview
  2. Docs
Runtime library for Protobuf tooling

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-protoc-4.1.tbz
sha256=89ea27f87d96fda79fd7a8f86a9e3ac978bdaa9c2ab989442d110123104bed3f
sha512=d5910fa17d60754c0ba273e4fa96137bb1129fbbc235a6601960a1cafb2ef41627b06a6486e539c5b206b73c249fe834ba910b2ce741d5f8ded137f042bbce4d

doc/pbrt.options/Pbrt_options/index.html

Module Pbrt_optionsSource

Protobuf

Sourcemodule E : sig ... end

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

Sourcetype 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
Sourcetype message_literal = (string * value) list
Sourceand list_literal = value list
Sourceand 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

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