xref: /aosp_15_r20/external/grpc-grpc/third_party/upb/upb/message/internal/types.h (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2023 Google LLC.  All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7 
8 #ifndef UPB_MESSAGE_INTERNAL_TYPES_H_
9 #define UPB_MESSAGE_INTERNAL_TYPES_H_
10 
11 struct upb_Message {
12   union {
13     struct upb_Message_Internal* internal;
14     double d;  // Forces same size for 32-bit/64-bit builds
15   };
16 };
17 
18 #endif /* UPB_MESSAGE_INTERNAL_TYPES_H_ */
19