#define BT_ASSERT_PRE_EVENT_CLASS_HOT(_ec) \
BT_ASSERT_PRE_HOT(((const struct bt_event_class *) (_ec)), \
#define BT_ASSERT_PRE_EVENT_CLASS_HOT(_ec) \
BT_ASSERT_PRE_HOT(((const struct bt_event_class *) (_ec)), \
struct bt_event_class *event_class, const char *name)
{
BT_ASSERT_PRE_NON_NULL(event_class, "Event class");
struct bt_event_class *event_class, const char *name)
{
BT_ASSERT_PRE_NON_NULL(event_class, "Event class");
g_string_assign(event_class->name.str, name);
event_class->name.value = event_class->name.str->str;
BT_LIB_LOGD("Set event class's name: %!+E", event_class);
g_string_assign(event_class->name.str, name);
event_class->name.value = event_class->name.str->str;
BT_LIB_LOGD("Set event class's name: %!+E", event_class);
g_string_assign(event_class->emf_uri.str, emf_uri);
event_class->emf_uri.value = event_class->emf_uri.str->str;
BT_LIB_LOGD("Set event class's EMF URI: %!+E", event_class);
g_string_assign(event_class->emf_uri.str, emf_uri);
event_class->emf_uri.value = event_class->emf_uri.str->str;
BT_LIB_LOGD("Set event class's EMF URI: %!+E", event_class);
struct bt_event_class *event_class,
struct bt_field_class *field_class)
{
struct bt_event_class *event_class,
struct bt_field_class *field_class)
{
* bt_resolve_field_paths() can fail: anything else
* would be because a precondition is not satisfied.
*/
* bt_resolve_field_paths() can fail: anything else
* would be because a precondition is not satisfied.
*/
struct bt_event_class *event_class,
struct bt_field_class *field_class)
{
struct bt_event_class *event_class,
struct bt_field_class *field_class)
{
* bt_resolve_field_paths() can fail: anything else
* would be because a precondition is not satisfied.
*/
* bt_resolve_field_paths() can fail: anything else
* would be because a precondition is not satisfied.
*/