WPILibC++
2027.0.0-alpha-3
Loading...
Searching...
No Matches
service_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
#ifndef UPB_REFLECTION_SERVICE_DEF_INTERNAL_H_
9
#define UPB_REFLECTION_SERVICE_DEF_INTERNAL_H_
10
11
#include "
upb/reflection/service_def.h
"
12
13
// Must be last.
14
#include "
upb/port/def.inc
"
15
16
#ifdef __cplusplus
17
extern
"C"
{
18
#endif
19
20
upb_ServiceDef
*
_upb_ServiceDef_At
(
const
upb_ServiceDef
* s,
int
i);
21
22
// Allocate and initialize an array of |n| service defs.
23
upb_ServiceDef
*
_upb_ServiceDefs_New
(
upb_DefBuilder
* ctx,
int
n,
24
const
UPB_DESC
(ServiceDescriptorProto*)
25
const
* protos,
26
const
UPB_DESC
(FeatureSet*)
27
parent_features);
28
29
#ifdef __cplusplus
30
}
/* extern "C" */
31
#endif
32
33
#include "
upb/port/undef.inc
"
34
35
#endif
/* UPB_REFLECTION_SERVICE_DEF_INTERNAL_H_ */
def.inc
UPB_DESC
#define UPB_DESC(sym)
Definition
def.inc:496
_upb_ServiceDef_At
upb_ServiceDef * _upb_ServiceDef_At(const upb_ServiceDef *s, int i)
_upb_ServiceDefs_New
upb_ServiceDef * _upb_ServiceDefs_New(upb_DefBuilder *ctx, int n, const UPB_DESC(ServiceDescriptorProto *) const *protos, const UPB_DESC(FeatureSet *) parent_features)
upb_ServiceDef
struct upb_ServiceDef upb_ServiceDef
Definition
common.h:35
service_def.h
upb_DefBuilder
Definition
def_builder.h:49
undef.inc
upb
reflection
internal
service_def.h
Generated on Fri Oct 24 2025 05:38:28 for WPILibC++ by
1.12.0