File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 115
115
/* elem_copy_f */ _z_ ##item_name##_rc_copy, \
116
116
/* elem_drop_f */ z_ ##item_name##_drop)
117
117
118
- #define _Z_CHANNEL_DEFINE_DUMMY (item_name , kind_name ) \
119
- typedef struct { \
120
- } z_owned_##kind_name##_handler_##item_name##_t; \
121
- typedef struct { \
122
- } z_loaned_##kind_name##_handler_##item_name##_t; \
123
- void *z_##kind_name##_handler_##item_name##_loan(); \
124
- void *z_##kind_name##_handler_##item_name##_move(); \
125
- void *z_##kind_name##_handler_##item_name##_drop(); \
126
- void *z_##kind_name##_handler_##item_name##_recv(); \
127
- void *z_##kind_name##_handler_##item_name##_try_recv();
118
+ #define _Z_CHANNEL_DEFINE_DUMMY (item_name , kind_name ) \
119
+ typedef struct { \
120
+ uint8_t _foo; \
121
+ } z_owned_##kind_name##_handler_##item_name##_t; \
122
+ typedef struct { \
123
+ uint8_t _foo; \
124
+ } z_loaned_##kind_name##_handler_##item_name##_t; \
125
+ void *z_##kind_name##_handler_##item_name##_loan(void); \
126
+ void *z_##kind_name##_handler_##item_name##_move(void); \
127
+ void *z_##kind_name##_handler_##item_name##_drop(void); \
128
+ void *z_##kind_name##_handler_##item_name##_recv(void); \
129
+ void *z_##kind_name##_handler_##item_name##_try_recv(void);
128
130
129
131
// This macro defines:
130
132
// z_ring_channel_sample_new()
You can’t perform that action at this time.
0 commit comments