translate-c: Struct fields default to zero value

C99 introduced designated initializers for structs. Omitted fields are
implicitly initialized to zero. Some C APIs are designed with this in
mind. Defaulting to zero values for translated struct fields permits Zig
code to comfortably use such an API.

Closes #8165
f91ff9a746Jay Petacat committed on 9/19/2023, 6:09:47 AM· committed by Andrew Kelleyparent5af5d87
3 files changedLine totals unavailable