WPILibC++ 2027.0.0-alpha-3
Loading...
Searching...
No Matches
extension_range.h
Go to the documentation of this file.
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_REFLECTION_EXTENSION_RANGE_INTERNAL_H_
9#define UPB_REFLECTION_EXTENSION_RANGE_INTERNAL_H_
10
12
13// Must be last.
14#include "upb/port/def.inc"
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
21
22// Allocate and initialize an array of |n| extension ranges owned by |m|.
24 upb_DefBuilder* ctx, int n,
25 const UPB_DESC(DescriptorProto_ExtensionRange*) const* protos,
26 const UPB_DESC(FeatureSet*) parent_features, const upb_MessageDef* m);
27
28#ifdef __cplusplus
29} /* extern "C" */
30#endif
31
32#include "upb/port/undef.inc"
33
34#endif /* UPB_REFLECTION_EXTENSION_RANGE_INTERNAL_H_ */
#define UPB_DESC(sym)
Definition def.inc:496
upb_ExtensionRange * _upb_ExtensionRanges_New(upb_DefBuilder *ctx, int n, const UPB_DESC(DescriptorProto_ExtensionRange *) const *protos, const UPB_DESC(FeatureSet *) parent_features, const upb_MessageDef *m)
upb_ExtensionRange * _upb_ExtensionRange_At(const upb_ExtensionRange *r, int i)
struct upb_ExtensionRange upb_ExtensionRange
Definition common.h:28
struct upb_MessageDef upb_MessageDef
Definition common.h:31
Definition def_builder.h:49