Add a basic .clang-tidy file and fix typedef warnings
[lttng-tools.git] / include / lttng / condition / evaluation-internal.hpp
index f74927c24b0c71d35c8b597dd3d39788c2a4edde..ed2c5735f3de2fe73c2ab7a67fe41b3920f4375f 100644 (file)
 struct lttng_payload;
 struct lttng_payload_view;
 
-typedef void (*evaluation_destroy_cb)(struct lttng_evaluation *evaluation);
-typedef int (*evaluation_serialize_cb)(
-               const struct lttng_evaluation *evaluation,
-               struct lttng_payload *payload);
+using evaluation_destroy_cb = void (*)(struct lttng_evaluation *);
+using evaluation_serialize_cb = int (*)(const struct lttng_evaluation *, struct lttng_payload *);
 
 struct lttng_evaluation_comm {
        /* enum lttng_condition_type type */
This page took 0.022305 seconds and 4 git commands to generate.