Go to the documentation of this file. 1 #ifndef HAWKTRACER_EVENT_MACROS_IMPL_H 2 #define HAWKTRACER_EVENT_MACROS_IMPL_H 6 #ifdef MKCREFLECT_DEFINE_GET_METHOD 7 #undef MKCREFLECT_DEFINE_GET_METHOD 10 #define MKCREFLECT_DEFINE_GET_METHOD(TYPE_NAME, ...) \ 11 MKCREFLECT_TypeInfo* mkcreflect_get_##TYPE_NAME##_type_info(void) \ 13 static MKCREFLECT_FieldInfo fields_info[MKCREFLECT_FOREACH(MKCREFLECT_SUM, 0, __VA_ARGS__)] = \ 15 MKCREFLECT_FOREACH(MKCREFLECT_FIELD_INFO, TYPE_NAME, __VA_ARGS__) \ 17 static MKCREFLECT_TypeInfo type_info = \ 20 MKCREFLECT_FOREACH(MKCREFLECT_SUM, 0, __VA_ARGS__), \ 22 MKCREFLECT_FOREACH(MKCREFLECT_SIZEOF, 0, __VA_ARGS__), \ 28 #ifdef HT_EVENT_DEFINITIONS 29 #undef HT_EVENT_DEFINITIONS 32 #define HT_EVENT_DEFINITIONS(TYPE_NAME, BASE_TYPE, ...) \ 33 HT_EVENT_DEFINITIONS_(TYPE_NAME, BASE_TYPE, __VA_ARGS__)