common: compile libcompat as C++
[lttng-tools.git] / include / lttng / event-expr-internal.h
index 9d717b8674c0e1a9e08ad635c03717f358ed91b0..d40f2fa017f272ec12961e49cda9e59d69a7dd2d 100644 (file)
 #include <common/macros.h>
 #include <lttng/event-expr.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 struct lttng_bytecode;
 struct mi_writer;
 
@@ -57,13 +61,15 @@ bool lttng_event_expr_is_lvalue(const struct lttng_event_expr *expr)
                        expr->type == LTTNG_EVENT_EXPR_TYPE_ARRAY_FIELD_ELEMENT;
 }
 
-LTTNG_HIDDEN
 int lttng_event_expr_to_bytecode(const struct lttng_event_expr *expr,
                struct lttng_bytecode **bytecode_out);
 
-LTTNG_HIDDEN
 enum lttng_error_code lttng_event_expr_mi_serialize(
                const struct lttng_event_expr *expression,
                struct mi_writer *writer);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* LTTNG_EVENT_EXPR_INTERNAL_H */
This page took 0.028115 seconds and 4 git commands to generate.