From 3149d2b372ddffb91c2c6ee54fcf17a481a7570c Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 1 Aug 2009 23:16:21 -0700 Subject: Added a proper prototype for upb_serialize. --- src/upb_serialize.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/upb_serialize.h') diff --git a/src/upb_serialize.h b/src/upb_serialize.h index e1468de..0a057c5 100644 --- a/src/upb_serialize.h +++ b/src/upb_serialize.h @@ -195,6 +195,9 @@ INLINE size_t upb_get_tag_size(uint32_t fieldnum) { return upb_v_uint64_t_size((uint64_t)fieldnum << 3); } +upb_status_t upb_serialize_value(uint8_t *buf, uint8_t *end, upb_field_type_t ft, + union upb_value_ptr v, uint8_t **outbuf); + #ifdef __cplusplus } /* extern "C" */ #endif -- cgit v1.2.3