Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:25:24

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_REFLECTION_FILE_DEF_INTERNAL_H_
0009 #define UPB_REFLECTION_FILE_DEF_INTERNAL_H_
0010 
0011 #include "upb/reflection/file_def.h"
0012 
0013 // Must be last.
0014 #include "upb/port/def.inc"
0015 
0016 #ifdef __cplusplus
0017 extern "C" {
0018 #endif
0019 
0020 const upb_MiniTableExtension* _upb_FileDef_ExtensionMiniTable(
0021     const upb_FileDef* f, int i);
0022 const int32_t* _upb_FileDef_PublicDependencyIndexes(const upb_FileDef* f);
0023 const int32_t* _upb_FileDef_WeakDependencyIndexes(const upb_FileDef* f);
0024 
0025 // upb_FileDef_Package() returns "" if f->package is NULL, this does not.
0026 const char* _upb_FileDef_RawPackage(const upb_FileDef* f);
0027 
0028 void _upb_FileDef_Create(upb_DefBuilder* ctx,
0029                          const UPB_DESC(FileDescriptorProto) * file_proto);
0030 
0031 #ifdef __cplusplus
0032 } /* extern "C" */
0033 #endif
0034 
0035 #include "upb/port/undef.inc"
0036 
0037 #endif /* UPB_REFLECTION_FILE_DEF_INTERNAL_H_ */