1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2023 Google LLC. All rights reserved.
3 //
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file or at
6 // https://developers.google.com/open-source/licenses/bsd
7
8 #include "upb/wire/eps_copy_input_stream.h"
9
_upb_EpsCopyInputStream_NoOpCallback(upb_EpsCopyInputStream * e,const char * old_end,const char * new_start)10 static const char* _upb_EpsCopyInputStream_NoOpCallback(
11 upb_EpsCopyInputStream* e, const char* old_end, const char* new_start) {
12 return new_start;
13 }
14
_upb_EpsCopyInputStream_IsDoneFallbackNoCallback(upb_EpsCopyInputStream * e,const char * ptr,int overrun)15 const char* _upb_EpsCopyInputStream_IsDoneFallbackNoCallback(
16 upb_EpsCopyInputStream* e, const char* ptr, int overrun) {
17 return _upb_EpsCopyInputStream_IsDoneFallbackInline(
18 e, ptr, overrun, _upb_EpsCopyInputStream_NoOpCallback);
19 }
20