summaryrefslogtreecommitdiff
path: root/upb/upb.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-01-17 12:38:04 -0800
committerJoshua Haberman <jhaberman@gmail.com>2019-01-17 12:38:04 -0800
commit8cd3b9dfa99764685727e065e43fb405ca5aa29f (patch)
tree0432687433873a5699771534ff622b24587bdb18 /upb/upb.h
parente13e1c46ae06a29ddebc9f1c2220d3a8544433dd (diff)
Moved some definitions to def.h
Diffstat (limited to 'upb/upb.h')
-rw-r--r--upb/upb.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/upb/upb.h b/upb/upb.h
index 3848229..92db893 100644
--- a/upb/upb.h
+++ b/upb/upb.h
@@ -377,14 +377,6 @@ typedef enum {
UPB_LABEL_REPEATED = 3
} upb_label_t;
-/* How integers should be encoded in serializations that offer multiple
- * integer encoding methods. */
-typedef enum {
- UPB_INTFMT_VARIABLE = 1,
- UPB_INTFMT_FIXED = 2,
- UPB_INTFMT_ZIGZAG = 3 /* Only for signed types (INT32/INT64). */
-} upb_intfmt_t;
-
/* Descriptor types, as defined in descriptor.proto. */
typedef enum {
UPB_DESCRIPTOR_TYPE_DOUBLE = 1,
@@ -407,37 +399,6 @@ typedef enum {
UPB_DESCRIPTOR_TYPE_SINT64 = 18
} upb_descriptortype_t;
-typedef enum {
- UPB_SYNTAX_PROTO2 = 2,
- UPB_SYNTAX_PROTO3 = 3
-} upb_syntax_t;
-
-/* All the different kind of well known type messages. For simplicity of check,
- * number wrappers and string wrappers are grouped together. Make sure the
- * order and merber of these groups are not changed.
- */
-typedef enum {
- UPB_WELLKNOWN_UNSPECIFIED,
- UPB_WELLKNOWN_ANY,
- UPB_WELLKNOWN_FIELDMASK,
- UPB_WELLKNOWN_DURATION,
- UPB_WELLKNOWN_TIMESTAMP,
- /* number wrappers */
- UPB_WELLKNOWN_DOUBLEVALUE,
- UPB_WELLKNOWN_FLOATVALUE,
- UPB_WELLKNOWN_INT64VALUE,
- UPB_WELLKNOWN_UINT64VALUE,
- UPB_WELLKNOWN_INT32VALUE,
- UPB_WELLKNOWN_UINT32VALUE,
- /* string wrappers */
- UPB_WELLKNOWN_STRINGVALUE,
- UPB_WELLKNOWN_BYTESVALUE,
- UPB_WELLKNOWN_BOOLVALUE,
- UPB_WELLKNOWN_VALUE,
- UPB_WELLKNOWN_LISTVALUE,
- UPB_WELLKNOWN_STRUCT
-} upb_wellknowntype_t;
-
extern const uint8_t upb_desctype_to_fieldtype[];
#endif /* UPB_H_ */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback