Auto-generate files after cl/592844285

pull/15142/head
Protobuf Team Bot 1 year ago
parent fd6f83576f
commit df7e74b1d4
  1. 4
      php/ext/google/protobuf/php-upb.h
  2. 4
      ruby/ext/google/protobuf_c/ruby-upb.h

@ -772,7 +772,7 @@ UPB_API_INLINE void* upb_Arena_Realloc(upb_Arena* a, void* ptr, size_t oldsize,
// this was not the last alloc. // this was not the last alloc.
UPB_API_INLINE void upb_Arena_ShrinkLast(upb_Arena* a, void* ptr, UPB_API_INLINE void upb_Arena_ShrinkLast(upb_Arena* a, void* ptr,
size_t oldsize, size_t size) { size_t oldsize, size_t size) {
return UPB_PRIVATE(_upb_Arena_ShrinkLast)(a, ptr, oldsize, size); UPB_PRIVATE(_upb_Arena_ShrinkLast)(a, ptr, oldsize, size);
} }
#ifdef __cplusplus #ifdef __cplusplus
@ -1753,7 +1753,7 @@ UPB_API_INLINE const upb_MiniTable* upb_MiniTableExtension_GetSubMessage(
UPB_API_INLINE void upb_MiniTableExtension_SetSubMessage( UPB_API_INLINE void upb_MiniTableExtension_SetSubMessage(
upb_MiniTableExtension* e, const upb_MiniTable* m) { upb_MiniTableExtension* e, const upb_MiniTable* m) {
return UPB_PRIVATE(_upb_MiniTableExtension_SetSubMessage)(e, m); UPB_PRIVATE(_upb_MiniTableExtension_SetSubMessage)(e, m);
} }
#ifdef __cplusplus #ifdef __cplusplus

@ -774,7 +774,7 @@ UPB_API_INLINE void* upb_Arena_Realloc(upb_Arena* a, void* ptr, size_t oldsize,
// this was not the last alloc. // this was not the last alloc.
UPB_API_INLINE void upb_Arena_ShrinkLast(upb_Arena* a, void* ptr, UPB_API_INLINE void upb_Arena_ShrinkLast(upb_Arena* a, void* ptr,
size_t oldsize, size_t size) { size_t oldsize, size_t size) {
return UPB_PRIVATE(_upb_Arena_ShrinkLast)(a, ptr, oldsize, size); UPB_PRIVATE(_upb_Arena_ShrinkLast)(a, ptr, oldsize, size);
} }
#ifdef __cplusplus #ifdef __cplusplus
@ -1755,7 +1755,7 @@ UPB_API_INLINE const upb_MiniTable* upb_MiniTableExtension_GetSubMessage(
UPB_API_INLINE void upb_MiniTableExtension_SetSubMessage( UPB_API_INLINE void upb_MiniTableExtension_SetSubMessage(
upb_MiniTableExtension* e, const upb_MiniTable* m) { upb_MiniTableExtension* e, const upb_MiniTable* m) {
return UPB_PRIVATE(_upb_MiniTableExtension_SetSubMessage)(e, m); UPB_PRIVATE(_upb_MiniTableExtension_SetSubMessage)(e, m);
} }
#ifdef __cplusplus #ifdef __cplusplus

Loading…
Cancel
Save