Skip to content

Commit

Permalink
bolt-gen: fix broken 'exposed subtype' generation
Browse files Browse the repository at this point in the history
borked in 96bf7ae; fixed here.
  • Loading branch information
niftynei authored and rustyrussell committed Jul 24, 2019
1 parent 0684962 commit b6d4c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/gen/header_template
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct ${tlv.struct_name()} *${tlv.struct_name()}_new(const tal_t *ctx);
% endfor
void towire_${subtype.name}(u8 **p, const ${subtype.type_name()} *${subtype.name});
% if subtype.is_varsize():
${static}${subtype.type_name()} *
${subtype.type_name()} *
fromwire_${subtype.name}(const tal_t *ctx, const u8 **cursor, size_t *plen);
% else:
void fromwire_${subtype.name}(const u8 **cursor, size_t *plen, ${subtype.type_name()} *${subtype.name});
Expand Down

0 comments on commit b6d4c37

Please sign in to comment.