package ocaml-protoc-plugin

  1. Overview
  2. Docs
type t =
  1. | TYPE_UNKNOWN
  2. | TYPE_DOUBLE
  3. | TYPE_FLOAT
  4. | TYPE_INT64
  5. | TYPE_UINT64
  6. | TYPE_INT32
  7. | TYPE_FIXED64
  8. | TYPE_FIXED32
  9. | TYPE_BOOL
  10. | TYPE_STRING
  11. | TYPE_GROUP
  12. | TYPE_MESSAGE
  13. | TYPE_BYTES
  14. | TYPE_UINT32
  15. | TYPE_ENUM
  16. | TYPE_SFIXED32
  17. | TYPE_SFIXED64
  18. | TYPE_SINT32
  19. | TYPE_SINT64
val to_int : t -> int
val from_int : int -> (t, [> Ocaml_protoc_plugin.Runtime.Runtime'.Result.error ]) result
OCaml

Innovation. Community. Security.