summaryrefslogtreecommitdiff
path: root/src/upb_parse.h
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-29 13:00:16 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-29 13:00:16 -0700
commitcd3d737d5e14937fb88b80979ab4743a5c3e7fb6 (patch)
treeff865556a4f00c033b5087509d988e4e02ef282b /src/upb_parse.h
parent60e7933d4cfd8dd98ff2076d9dacd572bc51a5f9 (diff)
Add sketch of deserializing code.
Diffstat (limited to 'src/upb_parse.h')
-rw-r--r--src/upb_parse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/upb_parse.h b/src/upb_parse.h
index 2982b51..09ac4f7 100644
--- a/src/upb_parse.h
+++ b/src/upb_parse.h
@@ -219,8 +219,8 @@ INLINE int64_t upb_zzdec_64(uint64_t n) { return (n >> 1) ^ -(int64_t)(n & 1); }
* uint8_t **outbuf);
*
* // Given an already read wire value s (source), convert it to a .proto
- * // value and store it in *d (destination).
- * void upb_wvtov_INT32(uint32_t s, int32_t *d);
+ * // value and return it.
+ * int32_t upb_wvtov_INT32(uint32_t s);
*/
#define WVTOV(type, wire_t, val_t) \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback