WPILibC++ 2027.0.0-alpha-3
Loading...
Searching...
No Matches
enum_value_def.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// IWYU pragma: private, include "upb/reflection/def.h"
9
10#ifndef UPB_REFLECTION_ENUM_VALUE_DEF_H_
11#define UPB_REFLECTION_ENUM_VALUE_DEF_H_
12
14
15// Must be last.
16#include "upb/port/def.inc"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
28const UPB_DESC(EnumValueOptions) *
29 upb_EnumValueDef_Options(const upb_EnumValueDef* v);
30const UPB_DESC(FeatureSet) *
31 upb_EnumValueDef_ResolvedFeatures(const upb_EnumValueDef* e);
32
33#ifdef __cplusplus
34} /* extern "C" */
35#endif
36
37#include "upb/port/undef.inc"
38
39#endif /* UPB_REFLECTION_ENUM_VALUE_DEF_H_ */
#define UPB_DESC(sym)
Definition def.inc:496
#define UPB_API
Definition def.inc:162
const char * upb_EnumValueDef_FullName(const upb_EnumValueDef *v)
UPB_API const char * upb_EnumValueDef_Name(const upb_EnumValueDef *v)
bool upb_EnumValueDef_HasOptions(const upb_EnumValueDef *v)
uint32_t upb_EnumValueDef_Index(const upb_EnumValueDef *v)
const upb_EnumDef * upb_EnumValueDef_Enum(const upb_EnumValueDef *v)
UPB_API int32_t upb_EnumValueDef_Number(const upb_EnumValueDef *v)
struct upb_EnumDef upb_EnumDef
Definition common.h:25
struct upb_EnumValueDef upb_EnumValueDef
Definition common.h:27