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 #ifndef UPB_MINI_TABLE_EXTENSION_H_
0009 #define UPB_MINI_TABLE_EXTENSION_H_
0010 
0011 #include <stdint.h>
0012 
0013 #include "upb/base/descriptor_constants.h"
0014 #include "upb/mini_table/internal/extension.h"
0015 #include "upb/mini_table/message.h"
0016 
0017 // Must be last.
0018 #include "upb/port/def.inc"
0019 
0020 typedef struct upb_MiniTableExtension upb_MiniTableExtension;
0021 
0022 #ifdef __cplusplus
0023 extern "C" {
0024 #endif
0025 
0026 UPB_API_INLINE upb_CType
0027 upb_MiniTableExtension_CType(const upb_MiniTableExtension* e);
0028 
0029 UPB_API_INLINE uint32_t
0030 upb_MiniTableExtension_Number(const upb_MiniTableExtension* e);
0031 
0032 UPB_API_INLINE const upb_MiniTable* upb_MiniTableExtension_GetSubMessage(
0033     const upb_MiniTableExtension* e);
0034 
0035 UPB_API_INLINE void upb_MiniTableExtension_SetSubMessage(
0036     upb_MiniTableExtension* e, const upb_MiniTable* m);
0037 
0038 #ifdef __cplusplus
0039 } /* extern "C" */
0040 #endif
0041 
0042 #include "upb/port/undef.inc"
0043 
0044 #endif /* UPB_MINI_TABLE_EXTENSION_H_ */