From 312240c40658642de2c8f6b9a1520a0a11ca499c Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Fri, 22 Mar 2024 17:47:13 +0000 Subject: [PATCH] Auto-generate files after PR #15817 --- php/ext/google/protobuf/php-upb.h | 30 ++++++++++++++------------- ruby/ext/google/protobuf_c/ruby-upb.h | 30 ++++++++++++++------------- 2 files changed, 32 insertions(+), 28 deletions(-) diff --git a/php/ext/google/protobuf/php-upb.h b/php/ext/google/protobuf/php-upb.h index 27e4fd206c..5c1080afa9 100644 --- a/php/ext/google/protobuf/php-upb.h +++ b/php/ext/google/protobuf/php-upb.h @@ -11078,8 +11078,8 @@ const upb_FieldDef* upb_DefPool_FindExtensionByNumber(const upb_DefPool* s, const upb_MessageDef* m, int32_t fieldnum); -const upb_ServiceDef* upb_DefPool_FindServiceByName(const upb_DefPool* s, - const char* name); +UPB_API const upb_ServiceDef* upb_DefPool_FindServiceByName( + const upb_DefPool* s, const char* name); const upb_ServiceDef* upb_DefPool_FindServiceByNameWithSize( const upb_DefPool* s, const char* name, size_t size); @@ -11497,18 +11497,19 @@ UPB_API upb_WellKnown upb_MessageDef_WellKnownType(const upb_MessageDef* m); extern "C" { #endif -bool upb_MethodDef_ClientStreaming(const upb_MethodDef* m); +UPB_API bool upb_MethodDef_ClientStreaming(const upb_MethodDef* m); const char* upb_MethodDef_FullName(const upb_MethodDef* m); bool upb_MethodDef_HasOptions(const upb_MethodDef* m); int upb_MethodDef_Index(const upb_MethodDef* m); -const upb_MessageDef* upb_MethodDef_InputType(const upb_MethodDef* m); -const char* upb_MethodDef_Name(const upb_MethodDef* m); -const UPB_DESC(MethodOptions) * upb_MethodDef_Options(const upb_MethodDef* m); +UPB_API const upb_MessageDef* upb_MethodDef_InputType(const upb_MethodDef* m); +UPB_API const char* upb_MethodDef_Name(const upb_MethodDef* m); +UPB_API const UPB_DESC(MethodOptions) * + upb_MethodDef_Options(const upb_MethodDef* m); const UPB_DESC(FeatureSet) * upb_MethodDef_ResolvedFeatures(const upb_MethodDef* m); -const upb_MessageDef* upb_MethodDef_OutputType(const upb_MethodDef* m); -bool upb_MethodDef_ServerStreaming(const upb_MethodDef* m); -const upb_ServiceDef* upb_MethodDef_Service(const upb_MethodDef* m); +UPB_API const upb_MessageDef* upb_MethodDef_OutputType(const upb_MethodDef* m); +UPB_API bool upb_MethodDef_ServerStreaming(const upb_MethodDef* m); +UPB_API const upb_ServiceDef* upb_MethodDef_Service(const upb_MethodDef* m); #ifdef __cplusplus } /* extern "C" */ @@ -11569,16 +11570,17 @@ const UPB_DESC(FeatureSet*) extern "C" { #endif -const upb_FileDef* upb_ServiceDef_File(const upb_ServiceDef* s); +UPB_API const upb_FileDef* upb_ServiceDef_File(const upb_ServiceDef* s); const upb_MethodDef* upb_ServiceDef_FindMethodByName(const upb_ServiceDef* s, const char* name); -const char* upb_ServiceDef_FullName(const upb_ServiceDef* s); +UPB_API const char* upb_ServiceDef_FullName(const upb_ServiceDef* s); bool upb_ServiceDef_HasOptions(const upb_ServiceDef* s); int upb_ServiceDef_Index(const upb_ServiceDef* s); -const upb_MethodDef* upb_ServiceDef_Method(const upb_ServiceDef* s, int i); -int upb_ServiceDef_MethodCount(const upb_ServiceDef* s); +UPB_API const upb_MethodDef* upb_ServiceDef_Method(const upb_ServiceDef* s, + int i); +UPB_API int upb_ServiceDef_MethodCount(const upb_ServiceDef* s); const char* upb_ServiceDef_Name(const upb_ServiceDef* s); -const UPB_DESC(ServiceOptions) * +UPB_API const UPB_DESC(ServiceOptions) * upb_ServiceDef_Options(const upb_ServiceDef* s); const UPB_DESC(FeatureSet) * upb_ServiceDef_ResolvedFeatures(const upb_ServiceDef* s); diff --git a/ruby/ext/google/protobuf_c/ruby-upb.h b/ruby/ext/google/protobuf_c/ruby-upb.h index d79920f2c0..fb7684be5f 100755 --- a/ruby/ext/google/protobuf_c/ruby-upb.h +++ b/ruby/ext/google/protobuf_c/ruby-upb.h @@ -11480,8 +11480,8 @@ const upb_FieldDef* upb_DefPool_FindExtensionByNumber(const upb_DefPool* s, const upb_MessageDef* m, int32_t fieldnum); -const upb_ServiceDef* upb_DefPool_FindServiceByName(const upb_DefPool* s, - const char* name); +UPB_API const upb_ServiceDef* upb_DefPool_FindServiceByName( + const upb_DefPool* s, const char* name); const upb_ServiceDef* upb_DefPool_FindServiceByNameWithSize( const upb_DefPool* s, const char* name, size_t size); @@ -11899,18 +11899,19 @@ UPB_API upb_WellKnown upb_MessageDef_WellKnownType(const upb_MessageDef* m); extern "C" { #endif -bool upb_MethodDef_ClientStreaming(const upb_MethodDef* m); +UPB_API bool upb_MethodDef_ClientStreaming(const upb_MethodDef* m); const char* upb_MethodDef_FullName(const upb_MethodDef* m); bool upb_MethodDef_HasOptions(const upb_MethodDef* m); int upb_MethodDef_Index(const upb_MethodDef* m); -const upb_MessageDef* upb_MethodDef_InputType(const upb_MethodDef* m); -const char* upb_MethodDef_Name(const upb_MethodDef* m); -const UPB_DESC(MethodOptions) * upb_MethodDef_Options(const upb_MethodDef* m); +UPB_API const upb_MessageDef* upb_MethodDef_InputType(const upb_MethodDef* m); +UPB_API const char* upb_MethodDef_Name(const upb_MethodDef* m); +UPB_API const UPB_DESC(MethodOptions) * + upb_MethodDef_Options(const upb_MethodDef* m); const UPB_DESC(FeatureSet) * upb_MethodDef_ResolvedFeatures(const upb_MethodDef* m); -const upb_MessageDef* upb_MethodDef_OutputType(const upb_MethodDef* m); -bool upb_MethodDef_ServerStreaming(const upb_MethodDef* m); -const upb_ServiceDef* upb_MethodDef_Service(const upb_MethodDef* m); +UPB_API const upb_MessageDef* upb_MethodDef_OutputType(const upb_MethodDef* m); +UPB_API bool upb_MethodDef_ServerStreaming(const upb_MethodDef* m); +UPB_API const upb_ServiceDef* upb_MethodDef_Service(const upb_MethodDef* m); #ifdef __cplusplus } /* extern "C" */ @@ -11971,16 +11972,17 @@ const UPB_DESC(FeatureSet*) extern "C" { #endif -const upb_FileDef* upb_ServiceDef_File(const upb_ServiceDef* s); +UPB_API const upb_FileDef* upb_ServiceDef_File(const upb_ServiceDef* s); const upb_MethodDef* upb_ServiceDef_FindMethodByName(const upb_ServiceDef* s, const char* name); -const char* upb_ServiceDef_FullName(const upb_ServiceDef* s); +UPB_API const char* upb_ServiceDef_FullName(const upb_ServiceDef* s); bool upb_ServiceDef_HasOptions(const upb_ServiceDef* s); int upb_ServiceDef_Index(const upb_ServiceDef* s); -const upb_MethodDef* upb_ServiceDef_Method(const upb_ServiceDef* s, int i); -int upb_ServiceDef_MethodCount(const upb_ServiceDef* s); +UPB_API const upb_MethodDef* upb_ServiceDef_Method(const upb_ServiceDef* s, + int i); +UPB_API int upb_ServiceDef_MethodCount(const upb_ServiceDef* s); const char* upb_ServiceDef_Name(const upb_ServiceDef* s); -const UPB_DESC(ServiceOptions) * +UPB_API const UPB_DESC(ServiceOptions) * upb_ServiceDef_Options(const upb_ServiceDef* s); const UPB_DESC(FeatureSet) * upb_ServiceDef_ResolvedFeatures(const upb_ServiceDef* s);