mirror of
https://github.com/protocolbuffers/protobuf
synced 2026-08-26 02:23:14 -04:00
This change moves almost everything in the `upb/` directory up one level, so that for example `upb/upb/generated_code_support.h` becomes just `upb/generated_code_support.h`. The only exceptions I made to this were that I left `upb/cmake` and `upb/BUILD` where they are, mostly because that avoids conflict with other files and the current locations seem reasonable for now. The `python/` directory is a little bit of a challenge because we had to merge the existing directory there with `upb/python/`. I made `upb/python/BUILD` into the BUILD file for the merged directory, and it effectively loads the contents of the other BUILD file via `python/build_targets.bzl`, but I plan to clean this up soon. PiperOrigin-RevId: 568651768
21 lines
620 B
C
21 lines
620 B
C
// Protocol Buffers - Google's data interchange format
|
|
// Copyright 2023 Google LLC. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file or at
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
#ifndef UPB_WIRE_TYPES_H_
|
|
#define UPB_WIRE_TYPES_H_
|
|
|
|
// A list of types as they are encoded on the wire.
|
|
typedef enum {
|
|
kUpb_WireType_Varint = 0,
|
|
kUpb_WireType_64Bit = 1,
|
|
kUpb_WireType_Delimited = 2,
|
|
kUpb_WireType_StartGroup = 3,
|
|
kUpb_WireType_EndGroup = 4,
|
|
kUpb_WireType_32Bit = 5
|
|
} upb_WireType;
|
|
|
|
#endif /* UPB_WIRE_TYPES_H_ */
|