summaryrefslogtreecommitdiff
path: root/upb/decode.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2019-03-06 12:17:34 -0800
committerGitHub <noreply@github.com>2019-03-06 12:17:34 -0800
commited9faae0993704b033c594b072d65e1bf19207fa (patch)
treedf2777687abddf1335427d06942ba3436edf8c0b /upb/decode.h
parent51f30e064b8e88af8e7d429c5a54c25f28c68b02 (diff)
parent71ec01e34b03557cfed9df5f417791a189e7fca6 (diff)
Merge pull request #141 from haberman/defcleanup
Major refactoring/cleanup of upb
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 dee4c0f..275f138 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_strview 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