package ocaml-protoc-plugin

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