WPILibC++ 2027.0.0-alpha-3
Loading...
Searching...
No Matches
enum.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_MINI_TABLE_ENUM_H_
9#define UPB_MINI_TABLE_ENUM_H_
10
11#include <stdint.h>
12
14
15// Must be last
16#include "upb/port/def.inc"
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
24// Validates enum value against range defined by enum mini table.
26 uint32_t val);
27
28#ifdef __cplusplus
29} /* extern "C" */
30#endif
31
32#include "upb/port/undef.inc"
33
34#endif /* UPB_MINI_TABLE_ENUM_H_ */
#define UPB_API_INLINE
Definition def.inc:163
UPB_API_INLINE bool upb_MiniTableEnum_CheckValue(const upb_MiniTableEnum *e, uint32_t val)
Definition enum.h:16