summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2018-03-07 16:30:21 -0800
committerJosh Haberman <jhaberman@gmail.com>2018-03-07 16:30:21 -0800
commitcea737028f7d34e6415c0de5d34587245624db2b (patch)
tree981332e74e56a8d025c6402de0f515b6ca2bd6eb /tests
parent6edcf6a82a1d49d784302c152735e4bdba6d643e (diff)
Added google/protobuf/descriptor.upb.* to core.
This is in preparation for making upb_def capable of parsing binary descriptors directly. We leave upb/descriptor/descriptor.upbdefs.* in place for now, because upb/descriptor/reader.* still depends on it. Also removed a bit of cruft from the codegen.
Diffstat (limited to 'tests')
-rw-r--r--tests/json/test.upbdefs.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/json/test.upbdefs.h b/tests/json/test.upbdefs.h
index 8476060..065c001 100644
--- a/tests/json/test.upbdefs.h
+++ b/tests/json/test.upbdefs.h
@@ -19,14 +19,6 @@
UPB_BEGIN_EXTERN_C
-/* Enums */
-
-typedef enum {
- upb_test_json_A = 0,
- upb_test_json_B = 1,
- upb_test_json_C = 2
-} upb_test_json_MyEnum;
-
/* MessageDefs: call these functions to get a ref to a msgdef. */
const upb_msgdef *upbdefs_upb_test_json_SubMessage_get(const void *owner);
const upb_msgdef *upbdefs_upb_test_json_TestMessage_get(const void *owner);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback