Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:18

0001 // Protocol Buffers - Google's data interchange format
0002 // Copyright 2023 Google LLC.  All rights reserved.
0003 //
0004 // Use of this source code is governed by a BSD-style
0005 // license that can be found in the LICENSE file or at
0006 // https://developers.google.com/open-source/licenses/bsd
0007 
0008 // IWYU pragma: private, include "upb/reflection/def.h"
0009 
0010 #ifndef UPB_REFLECTION_ENUM_VALUE_DEF_H_
0011 #define UPB_REFLECTION_ENUM_VALUE_DEF_H_
0012 
0013 #include "upb/reflection/common.h"
0014 
0015 // Must be last.
0016 #include "upb/port/def.inc"
0017 
0018 #ifdef __cplusplus
0019 extern "C" {
0020 #endif
0021 
0022 const upb_EnumDef* upb_EnumValueDef_Enum(const upb_EnumValueDef* v);
0023 const char* upb_EnumValueDef_FullName(const upb_EnumValueDef* v);
0024 bool upb_EnumValueDef_HasOptions(const upb_EnumValueDef* v);
0025 uint32_t upb_EnumValueDef_Index(const upb_EnumValueDef* v);
0026 UPB_API const char* upb_EnumValueDef_Name(const upb_EnumValueDef* v);
0027 UPB_API int32_t upb_EnumValueDef_Number(const upb_EnumValueDef* v);
0028 const UPB_DESC(EnumValueOptions) *
0029     upb_EnumValueDef_Options(const upb_EnumValueDef* v);
0030 const UPB_DESC(FeatureSet) *
0031     upb_EnumValueDef_ResolvedFeatures(const upb_EnumValueDef* e);
0032 
0033 #ifdef __cplusplus
0034 } /* extern "C" */
0035 #endif
0036 
0037 #include "upb/port/undef.inc"
0038 
0039 #endif /* UPB_REFLECTION_ENUM_VALUE_DEF_H_ */