Skip to content

Commit c4e2cdf

Browse files
Auto-generate files after cl/910315905
1 parent 28bfb07 commit c4e2cdf

4 files changed

Lines changed: 10 additions & 4 deletions

File tree

php/ext/google/protobuf/php-upb.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17684,7 +17684,9 @@ bool _upb_Decoder_TryDecodeMessageFast(upb_Decoder* d, const char** ptr,
1768417684
UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(&d->input, *ptr);
1768517685
char* trace_next = _upb_Decoder_TraceNext(d);
1768617686

17687-
*ptr = upb_DecodeFast_Dispatch(d, *ptr, msg, table, 0, 0);
17687+
upb_FastDecoder_Return ret =
17688+
upb_DecodeFast_Dispatch(d, *ptr, msg, table, 0, 0);
17689+
*ptr = ret.ptr;
1768817690

1768917691
if (d->message_is_done) {
1769017692
// The entire message was successfully parsed fast.

php/ext/google/protobuf/php-upb.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2361,8 +2361,9 @@ UPB_API_INLINE const struct upb_MiniTable* upb_MiniTableSub_Message(
23612361

23622362
struct upb_Decoder;
23632363
struct upb_Message;
2364+
struct upb_FastDecoder_Return;
23642365

2365-
typedef UPB_PRESERVE_NONE const char* _upb_FieldParser(
2366+
typedef UPB_PRESERVE_NONE struct upb_FastDecoder_Return _upb_FieldParser(
23662367
struct upb_Decoder* d, const char* ptr, struct upb_Message* msg,
23672368
intptr_t table, uint64_t hasbits, uint64_t data);
23682369

ruby/ext/google/protobuf_c/ruby-upb.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17206,7 +17206,9 @@ bool _upb_Decoder_TryDecodeMessageFast(upb_Decoder* d, const char** ptr,
1720617206
UPB_PRIVATE(upb_EpsCopyInputStream_GetInputPtr)(&d->input, *ptr);
1720717207
char* trace_next = _upb_Decoder_TraceNext(d);
1720817208

17209-
*ptr = upb_DecodeFast_Dispatch(d, *ptr, msg, table, 0, 0);
17209+
upb_FastDecoder_Return ret =
17210+
upb_DecodeFast_Dispatch(d, *ptr, msg, table, 0, 0);
17211+
*ptr = ret.ptr;
1721017212

1721117213
if (d->message_is_done) {
1721217214
// The entire message was successfully parsed fast.

ruby/ext/google/protobuf_c/ruby-upb.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2361,8 +2361,9 @@ UPB_API_INLINE const struct upb_MiniTable* upb_MiniTableSub_Message(
23612361

23622362
struct upb_Decoder;
23632363
struct upb_Message;
2364+
struct upb_FastDecoder_Return;
23642365

2365-
typedef UPB_PRESERVE_NONE const char* _upb_FieldParser(
2366+
typedef UPB_PRESERVE_NONE struct upb_FastDecoder_Return _upb_FieldParser(
23662367
struct upb_Decoder* d, const char* ptr, struct upb_Message* msg,
23672368
intptr_t table, uint64_t hasbits, uint64_t data);
23682369

0 commit comments

Comments
 (0)