From cea737028f7d34e6415c0de5d34587245624db2b Mon Sep 17 00:00:00 2001 From: Josh Haberman Date: Wed, 7 Mar 2018 16:30:21 -0800 Subject: 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. --- tests/json/test.upbdefs.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'tests/json/test.upbdefs.h') 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); -- cgit v1.2.3