diff options
Diffstat (limited to 'pb_encode.c')
-rw-r--r-- | pb_encode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pb_encode.c b/pb_encode.c index 0e048ac6..bedfed46 100644 --- a/pb_encode.c +++ b/pb_encode.c @@ -253,6 +253,11 @@ bool checkreturn pb_encode(pb_ostream_t *stream, const pb_field_t fields[], cons return true; } +bool pb_encode_delimited(pb_ostream_t *stream, const pb_field_t fields[], const void *src_struct) +{ + return pb_encode_submessage(stream, fields, src_struct); +} + /* Helper functions */ bool checkreturn pb_encode_varint(pb_ostream_t *stream, uint64_t value) { |