Move nr_callbacks to event state
[libside.git] / include / side / instrumentation-c-api.h
index 5b5e1a3b614f763a168c8770d709ae184070d88a..5b7b40c9d484d2c8d719d36936cc4e072eba06fe 100644 (file)
                .p = { \
                        .version = SIDE_EVENT_STATE_ABI_VERSION, \
                }, \
+               .nr_callbacks = 0, \
                .enabled = 0, \
                .callbacks = &side_empty_callback, \
                .desc = &(_identifier), \
                .loglevel = SIDE_ENUM_INIT(_loglevel), \
                .nr_fields = SIDE_ARRAY_SIZE(SIDE_PARAM(_fields)), \
                .nr_attr = SIDE_ARRAY_SIZE(SIDE_PARAM_SELECT_ARG1(_, ##_attr, side_attr_list())), \
-               .nr_callbacks = 0, \
        }; \
        static const struct side_event_description *side_event_ptr__##_identifier \
                __attribute__((section("side_event_description_ptr"), used)) = &(_identifier);
This page took 0.022968 seconds and 4 git commands to generate.