summaryrefslogtreecommitdiff
path: root/upb/decode.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb/decode.h')
-rw-r--r--upb/decode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/upb/decode.h b/upb/decode.h
index dee4c0f..224e606 100644
--- a/upb/decode.h
+++ b/upb/decode.h
@@ -9,7 +9,8 @@
UPB_BEGIN_EXTERN_C
-bool upb_decode(upb_strview buf, upb_msg *msg, const upb_msglayout *l);
+bool upb_decode(const char *buf, size_t size, upb_msg *msg,
+ const upb_msglayout *l);
UPB_END_EXTERN_C
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback