Refactor creation of static pairs struct
Writing the struct directly is fragile, and risks incomplete initializations or non-zeroed fields 'leaking' into future calls. We rather write a simple helper that creates the full struct with a literal, guaranteeing that everything that is not explicitly set is zeroed.
S
Salvatore Ingala committed
2245761b953bc1c70521faee5e42640145f799a4
Parent: 560df9a