projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bin: compile lttng-sessiond as C++
[lttng-tools.git]
/
src
/
common
/
buffer-view.h
diff --git
a/src/common/buffer-view.h
b/src/common/buffer-view.h
index 58f1ede2e94c34f9d745a65d2e94014645a19ea8..ecd764d7c019f1c5e5902b848676f78df93ef223 100644
(file)
--- a/
src/common/buffer-view.h
+++ b/
src/common/buffer-view.h
@@
-13,6
+13,10
@@
#include <stddef.h>
#include <stdint.h>
#include <stddef.h>
#include <stdint.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct lttng_dynamic_buffer;
struct lttng_buffer_view {
struct lttng_dynamic_buffer;
struct lttng_buffer_view {
@@
-92,4
+96,8
@@
bool lttng_buffer_view_contains_string(const struct lttng_buffer_view *buf,
const char *str,
size_t len_with_null_terminator);
const char *str,
size_t len_with_null_terminator);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTTNG_BUFFER_VIEW_H */
#endif /* LTTNG_BUFFER_VIEW_H */
This page took
0.023301 seconds
and
4
git commands to generate.