side_static_event(my_provider_event_structsg, "myprovider", "myeventstructsg", SIDE_LOGLEVEL_DEBUG,
side_field_list(
- side_field_struct_sg("structsg", &mystructsgdef, 0),
+ side_field_sg_struct("structsg", &mystructsgdef, 0),
side_field_sg_signed_integer("intsg", 0, 32, 0, 32,
side_attr_list(side_attr("std.integer.base", side_attr_u8(10)))),
#if __HAVE_FLOAT32
#endif
side_event_call(my_provider_event_structsg,
side_arg_list(
- side_arg_struct_sg(&mystruct),
- side_arg_signed_integer_sg(&val),
+ side_arg_sg_struct(&mystruct),
+ side_arg_sg_signed_integer(&val),
#if __HAVE_FLOAT32
- side_arg_float_sg(&f32),
+ side_arg_sg_float(&f32),
#endif
)
);
side_field_sg_unsigned_integer("b", offsetof(struct testnest1, b),
side_struct_field_sizeof_bit(struct testnest1, b), 0,
side_struct_field_sizeof_bit(struct testnest1, b), side_attr_list()),
- side_field_struct_sg("nest2", &mystructsgnest2,
+ side_field_sg_struct("nest2", &mystructsgnest2,
offsetof(struct testnest1, nest)),
),
side_attr_list()
side_field_sg_unsigned_integer("a", offsetof(struct testnest0, a),
side_struct_field_sizeof_bit(struct testnest0, a), 0,
side_struct_field_sizeof_bit(struct testnest0, a), side_attr_list()),
- side_field_struct_sg("nest1", &mystructsgnest1,
+ side_field_sg_struct("nest1", &mystructsgnest1,
offsetof(struct testnest0, nest)),
),
side_attr_list()
side_static_event(my_provider_event_structsg_nest,
"myprovider", "myeventstructsgnest", SIDE_LOGLEVEL_DEBUG,
side_field_list(
- side_field_struct_sg("nest0", &mystructsgnest0, 0),
+ side_field_sg_struct("nest0", &mystructsgnest0, 0),
),
side_attr_list()
);
};
side_event_call(my_provider_event_structsg_nest,
side_arg_list(
- side_arg_struct_sg(&mystruct),
+ side_arg_sg_struct(&mystruct),
)
);
}
side_static_event(my_provider_event_structsgfloat,
"myprovider", "myeventstructsgfloat", SIDE_LOGLEVEL_DEBUG,
side_field_list(
- side_field_struct_sg("structsgfloat", &mystructsgfloat, 0),
+ side_field_sg_struct("structsgfloat", &mystructsgfloat, 0),
),
side_attr_list()
);
};
side_event_call(my_provider_event_structsgfloat,
side_arg_list(
- side_arg_struct_sg(&mystruct),
+ side_arg_sg_struct(&mystruct),
)
);
}