|
|
@ -35,6 +35,10 @@ |
|
|
|
// Must be last.
|
|
|
|
// Must be last.
|
|
|
|
#include "upb/port/def.inc" |
|
|
|
#include "upb/port/def.inc" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
|
|
extern "C" { |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
// The maximum number of bytes a single protobuf field can take up in the
|
|
|
|
// The maximum number of bytes a single protobuf field can take up in the
|
|
|
|
// wire format. We only want to do one bounds check per field, so the input
|
|
|
|
// wire format. We only want to do one bounds check per field, so the input
|
|
|
|
// stream guarantees that after upb_EpsCopyInputStream_IsDone() is called,
|
|
|
|
// stream guarantees that after upb_EpsCopyInputStream_IsDone() is called,
|
|
|
@ -405,6 +409,10 @@ static UPB_FORCEINLINE bool upb_EpsCopyInputStream_TryParseDelimitedFast( |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
|
|
|
|
} /* extern "C" */ |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#include "upb/port/undef.inc" |
|
|
|
#include "upb/port/undef.inc" |
|
|
|
|
|
|
|
|
|
|
|
#endif // UPB_WIRE_EPS_COPY_INPUT_STREAM_H_
|
|
|
|
#endif // UPB_WIRE_EPS_COPY_INPUT_STREAM_H_
|
|
|
|