• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 // IWYU pragma: private, include "upb/reflection/def.h"
9 
10 #ifndef UPB_REFLECTION_EXTENSION_RANGE_H_
11 #define UPB_REFLECTION_EXTENSION_RANGE_H_
12 
13 #include "upb/reflection/common.h"
14 
15 // Must be last.
16 #include "upb/port/def.inc"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 int32_t upb_ExtensionRange_Start(const upb_ExtensionRange* r);
23 int32_t upb_ExtensionRange_End(const upb_ExtensionRange* r);
24 
25 bool upb_ExtensionRange_HasOptions(const upb_ExtensionRange* r);
26 const UPB_DESC(ExtensionRangeOptions) *
27     upb_ExtensionRange_Options(const upb_ExtensionRange* r);
28 const UPB_DESC(FeatureSet) *
29     upb_ExtensionRange_ResolvedFeatures(const upb_ExtensionRange* e);
30 
31 #ifdef __cplusplus
32 } /* extern "C" */
33 #endif
34 
35 #include "upb/port/undef.inc"
36 
37 #endif /* UPB_REFLECTION_EXTENSION_RANGE_H_ */
38