From 3ee0120cee9d9b678efcac2c82f9adb1f8dbc765 Mon Sep 17 00:00:00 2001 From: Protobuf Team Bot Date: Thu, 7 Mar 2024 23:27:46 +0000 Subject: [PATCH] Auto-generate files after cl/613716602 --- php/ext/google/protobuf/php-upb.h | 4 ++-- ruby/ext/google/protobuf_c/ruby-upb.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/php/ext/google/protobuf/php-upb.h b/php/ext/google/protobuf/php-upb.h index 40ef922eff..ac4909321a 100644 --- a/php/ext/google/protobuf/php-upb.h +++ b/php/ext/google/protobuf/php-upb.h @@ -1603,8 +1603,8 @@ UPB_INLINE const char* upb_MiniTable_FullName( // Initializes tracing proto name from language runtimes that construct // mini tables dynamically at runtime. The runtime is responsible for passing // controlling lifetime of name such as storing in same arena as mini_table. -UPB_INLINE const char* upb_MiniTable_SetFullName( - struct upb_MiniTable* mini_table, char* full_name) { +UPB_INLINE void upb_MiniTable_SetFullName(struct upb_MiniTable* mini_table, + const char* full_name) { mini_table->UPB_PRIVATE(full_name) = full_name; } #endif diff --git a/ruby/ext/google/protobuf_c/ruby-upb.h b/ruby/ext/google/protobuf_c/ruby-upb.h index 3bca239afb..27166c6d45 100755 --- a/ruby/ext/google/protobuf_c/ruby-upb.h +++ b/ruby/ext/google/protobuf_c/ruby-upb.h @@ -1605,8 +1605,8 @@ UPB_INLINE const char* upb_MiniTable_FullName( // Initializes tracing proto name from language runtimes that construct // mini tables dynamically at runtime. The runtime is responsible for passing // controlling lifetime of name such as storing in same arena as mini_table. -UPB_INLINE const char* upb_MiniTable_SetFullName( - struct upb_MiniTable* mini_table, char* full_name) { +UPB_INLINE void upb_MiniTable_SetFullName(struct upb_MiniTable* mini_table, + const char* full_name) { mini_table->UPB_PRIVATE(full_name) = full_name; } #endif