summaryrefslogtreecommitdiff
path: root/upb/decode.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-01-14 10:56:58 -0800
committerJoshua Haberman <jhaberman@gmail.com>2019-01-14 10:56:58 -0800
commitcb26d883d1290ed258e5594454c2ffe0526b13f9 (patch)
tree8ca8c172333c159d8bf6c4e315376cdfb2f66882 /upb/decode.h
parenta9c375f8ea81e52d832653c963da72033c9a98be (diff)
WIP.
Diffstat (limited to 'upb/decode.h')
-rw-r--r--upb/decode.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/upb/decode.h b/upb/decode.h
index 79774ed..790d7ef 100644
--- a/upb/decode.h
+++ b/upb/decode.h
@@ -7,10 +7,14 @@
#include "upb/msg.h"
-UPB_BEGIN_EXTERN_C
+#ifdef __cplusplus
+extern "C" {
+#endif
bool upb_decode(upb_stringview buf, upb_msg *msg, const upb_msglayout *l);
-UPB_END_EXTERN_C
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
#endif /* UPB_DECODE_H_ */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback