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
/
dynamic-buffer.h
diff --git
a/src/common/dynamic-buffer.h
b/src/common/dynamic-buffer.h
index 0e0dedc9b01b9af35b10e3c74a5f21e9afc557c7..d4813fa3919b6c3d43dc536d308368f8f186b837 100644
(file)
--- a/
src/common/dynamic-buffer.h
+++ b/
src/common/dynamic-buffer.h
@@
-12,6
+12,10
@@
#include <stdint.h>
#include <common/macros.h>
#include <stdint.h>
#include <common/macros.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct lttng_buffer_view;
struct lttng_dynamic_buffer {
struct lttng_buffer_view;
struct lttng_dynamic_buffer {
@@
-92,4
+96,8
@@
void lttng_dynamic_buffer_reset(struct lttng_dynamic_buffer *buffer);
size_t lttng_dynamic_buffer_get_capacity_left(
struct lttng_dynamic_buffer *buffer);
size_t lttng_dynamic_buffer_get_capacity_left(
struct lttng_dynamic_buffer *buffer);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTTNG_DYNAMIC_BUFFER_H */
#endif /* LTTNG_DYNAMIC_BUFFER_H */
This page took
0.023461 seconds
and
4
git commands to generate.