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
13
#include "
upb/mini_table/internal/enum.h
"
14
15
// Must be last
16
#include "
upb/port/def.inc
"
17
18
typedef
struct
upb_MiniTableEnum
upb_MiniTableEnum
;
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
24
// Validates enum value against range defined by enum mini table.
25
UPB_API_INLINE
bool
upb_MiniTableEnum_CheckValue
(
const
upb_MiniTableEnum
* e,
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_ */
def.inc
UPB_API_INLINE
#define UPB_API_INLINE
Definition
def.inc:163
upb_MiniTableEnum_CheckValue
UPB_API_INLINE bool upb_MiniTableEnum_CheckValue(const upb_MiniTableEnum *e, uint32_t val)
enum.h
upb_MiniTableEnum
Definition
enum.h:16
undef.inc
upb
mini_table
enum.h
Generated on Fri Oct 24 2025 05:38:28 for WPILibC++ by
1.12.0