package ocaml-protoc-plugin

  1. Overview
  2. Docs
module CType : sig ... end
module JSType : sig ... end
val name' : unit -> string
type t = {
  1. ctype : CType.t;
  2. packed : bool option;
  3. jstype : JSType.t;
  4. lazy' : bool;
  5. unverified_lazy : bool;
  6. deprecated : bool;
  7. weak : bool;
  8. uninterpreted_option : UninterpretedOption.t list;
  9. extensions' : Ocaml_protoc_plugin.Runtime.Runtime'.Extensions.t;
}
val make : ?ctype:CType.t -> ?packed:bool -> ?jstype:JSType.t -> ?lazy':bool -> ?unverified_lazy:bool -> ?deprecated:bool -> ?weak:bool -> ?uninterpreted_option:UninterpretedOption.t list -> ?extensions':Ocaml_protoc_plugin.Runtime.Runtime'.Extensions.t -> unit -> t
val to_proto : t -> Ocaml_protoc_plugin.Runtime.Runtime'.Writer.t
val from_proto : Ocaml_protoc_plugin.Runtime.Runtime'.Reader.t -> (t, [> Ocaml_protoc_plugin.Runtime.Runtime'.Result.error ]) result