Jakub Zawadzki
changed
bug 9498
Comment # 18
on bug 9498
from Jakub Zawadzki
(In reply to comment #16)
> The new API also introduces a lot of boilerplate code:
>
> static header_field_info hfi_yami_message_id HFI_INIT(proto_yami) = ...
>
> Why not:
>
> static HFI_REG_VAR(proto_yami, hfi_yami_message_id) = ...
and going two step further, you could do:
#define YAMI_HFI_REG_VAR(x) HFI_REG_VAR(proto_yami, x) =
...
static YAMI_HFI_REG_VAR(hfi_yami_message_id) \
{ /* hf data */ }
I don't know. Feel free.
You are receiving this mail because:
- You are watching all bug changes.