From 69dee545ec95f55f271f5a51ac115deca4b484f9 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Tue, 19 Sep 2017 17:08:20 -0700 Subject: Remove upb_pb_encoder_encode_unknown --- upb/pb/encoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'upb/pb/encoder.h') diff --git a/upb/pb/encoder.h b/upb/pb/encoder.h index 3d8dce1..780dfcb 100644 --- a/upb/pb/encoder.h +++ b/upb/pb/encoder.h @@ -64,8 +64,8 @@ const upb_handlers *upb_pb_encoder_newhandlers(const upb_msgdef *m, upb_sink *upb_pb_encoder_input(upb_pb_encoder *p); upb_pb_encoder* upb_pb_encoder_create(upb_env* e, const upb_handlers* h, upb_bytessink* output); -void upb_pb_encoder_encode_unknown(upb_pb_encoder* p, const char* buf, - size_t size); +bool encode_unknown(upb_pb_encoder* p, const void* hd, const char* buf, + size_t size); UPB_END_EXTERN_C -- cgit v1.2.3