diff options
author | Josh Haberman <jhaberman@gmail.com> | 2019-03-26 08:32:05 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2019-03-26 08:32:05 -0700 |
commit | 0abf6083b33b13bea895bf5d885c5ec58b2bd986 (patch) | |
tree | 0278856cbd0263bdddd2f0c68259d3ec2ea383d5 /upb/decode.h | |
parent | 32e3f394b42cff2b94c5ef84cb31009ce33c864f (diff) | |
parent | a8a0bc73b981bd94509c180ad8cac36143c479ec (diff) |
Merge branch 'master' into apitweaks
Diffstat (limited to 'upb/decode.h')
-rw-r--r-- | upb/decode.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/upb/decode.h b/upb/decode.h index 224e606..d21b659 100644 --- a/upb/decode.h +++ b/upb/decode.h @@ -7,11 +7,15 @@ #include "upb/msg.h" -UPB_BEGIN_EXTERN_C +#ifdef __cplusplus +extern "C" { +#endif bool upb_decode(const char *buf, size_t size, upb_msg *msg, const upb_msglayout *l); -UPB_END_EXTERN_C +#ifdef __cplusplus +} /* extern "C" */ +#endif #endif /* UPB_DECODE_H_ */ |