mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
5320cab2de
If a structure foo has a optional fields opt1 and opt2, this creates towire_foo, towire_foo_opt1 and towire_foo_opt2 (since opt2 implies opt1), similarly for fromwire_*. This requires the callers to be updated to call the correct routines (eg. try fromwire_foo_opt2, then fromwire_foo_opt1, then finally fromwire_foo), but this is a minimal change to the generation code. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
.. | ||
check-bolt.c | ||
generate-wire.py | ||
mockup.sh | ||
update-mocks.sh |