- user_data_t user_data = {.data = c, .free_func = cpy_destroy_user_data};
-
- plugin_register_complex_read(/* group = */ "python", buf, cpy_read_callback,
- DOUBLE_TO_CDTIME_T(interval), &user_data);
+ plugin_register_complex_read(
+ /* group = */ "python", buf, cpy_read_callback,
+ DOUBLE_TO_CDTIME_T(interval),
+ &(user_data_t){
+ .data = c, .free_func = cpy_destroy_user_data,
+ });