From 088b995c9e873178ec5761418534ed108e20c4b5 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Fri, 15 Jan 2010 10:51:33 -0800 Subject: Make msgsrc reversable. --- src/upb_data.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/upb_data.h') diff --git a/src/upb_data.h b/src/upb_data.h index b0c9b6d..22a5ea9 100644 --- a/src/upb_data.h +++ b/src/upb_data.h @@ -524,7 +524,8 @@ void upb_msg_parsestr(upb_msg *msg, struct upb_msgdef *md, upb_strptr str, // A nonresumable, non-interruptable (but simple and fast) source for pushing // the data of a upb_msg to a upb_sink. -void upb_msgsrc_produce(upb_msg *msg, struct upb_msgdef *md, upb_sink *sink); +void upb_msgsrc_produce(upb_msg *msg, struct upb_msgdef *md, upb_sink *sink, + bool reverse); /* upb_msgsink ****************************************************************/ -- cgit v1.2.3