Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Oops, typoed #ifdef; again fixing previous commit.
[apps/agl-service-can-low-level.git]
/
pb_decode.h
diff --git
a/pb_decode.h
b/pb_decode.h
index
2be9205
..
e9f8ced
100644
(file)
--- a/
pb_decode.h
+++ b/
pb_decode.h
@@
-12,6
+12,10
@@
#include <stdbool.h>
#include "pb.h"
#include <stdbool.h>
#include "pb.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Lightweight input stream.
* You can provide a callback function for reading or use
* pb_istream_from_buffer.
/* Lightweight input stream.
* You can provide a callback function for reading or use
* pb_istream_from_buffer.
@@
-102,4
+106,8
@@
bool pb_skip_varint(pb_istream_t *stream);
bool pb_skip_string(pb_istream_t *stream);
#endif
bool pb_skip_string(pb_istream_t *stream);
#endif
+#ifdef __cplusplus
+} /* extern "C" */
+#endif
+
#endif
#endif