diff options
author | Josh Haberman <jhaberman@gmail.com> | 2016-12-12 18:57:13 +0000 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2016-12-12 18:57:13 +0000 |
commit | ce1f63fde226f367c1ce2172a416d9b9f57c297e (patch) | |
tree | 88c8429cecdd7188054b4f894509a8132f3b75ca /upb/sink.h | |
parent | 15c388b819ebfebb83851950893413041288970f (diff) |
A few C++ fixes for BufferSink.
Diffstat (limited to 'upb/sink.h')
-rw-r--r-- | upb/sink.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -22,6 +22,7 @@ #ifdef __cplusplus namespace upb { +class BufferSink; class BufferSource; class BytesSink; class Sink; @@ -213,6 +214,8 @@ struct upb_bufsrc { #endif }; +UPB_BEGIN_EXTERN_C + /* A class for accumulating output string data in a flat buffer. */ upb_bufsink *upb_bufsink_new(upb_env *env); |