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
/
bytecode
/
bytecode.h
diff --git
a/src/common/bytecode/bytecode.h
b/src/common/bytecode/bytecode.h
index d7ef4aeddd27b8d581a691a5f842179f2ca16374..54ed7363ec493b6c0c2b14db940d2402edf6ccf4 100644
(file)
--- a/
src/common/bytecode/bytecode.h
+++ b/
src/common/bytecode/bytecode.h
@@
-13,6
+13,10
@@
#include "common/macros.h"
#include "common/sessiond-comm/sessiond-comm.h"
#include "common/macros.h"
#include "common/sessiond-comm/sessiond-comm.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* offsets are absolute from start of bytecode.
*/
/*
* offsets are absolute from start of bytecode.
*/
@@
-43,10
+47,6
@@
struct literal_double {
double v;
} LTTNG_PACKED;
double v;
} LTTNG_PACKED;
-struct literal_string {
- char string[0];
-} LTTNG_PACKED;
-
enum bytecode_op {
BYTECODE_OP_UNKNOWN = 0,
enum bytecode_op {
BYTECODE_OP_UNKNOWN = 0,
@@
-262,4
+262,8
@@
unsigned int bytecode_get_len(struct lttng_bytecode *bytecode)
return bytecode->len;
}
return bytecode->len;
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTTNG_COMMON_BYTECODE_H */
#endif /* LTTNG_COMMON_BYTECODE_H */
This page took
0.023644 seconds
and
4
git commands to generate.