diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-27 20:45:36 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-09-27 20:45:36 -0600 |
commit | fa357459f88bb8f0170d1a68df66e7d068d59996 (patch) | |
tree | 8585b5755ae224c6609f982d973141f1f6bad97b /lib9p/types.gen | |
parent | d54ddec236bf9bdb8c032cd5fbdb0aa46ffebe86 (diff) |
fixes
Diffstat (limited to 'lib9p/types.gen')
-rwxr-xr-x | lib9p/types.gen | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib9p/types.gen b/lib9p/types.gen index 5eee551..0de5068 100755 --- a/lib9p/types.gen +++ b/lib9p/types.gen @@ -586,18 +586,18 @@ static inline bool marshal_8(struct _marshal_ctx *ctx, uint64_t *val) { /* vtables ********************************************************************/ struct _vtable_version _{idprefix}vtables[LIB9P_VER_NUM] = {{ - [{idprefix.upper()}VER_UNINITIALIZED] = {{ + [{idprefix.upper()}VER_UNINITIALIZED] = {{ .msgs = {{ {msg_entry(next(msg for msg in structs if msg.name == 'Tversion'))}, {msg_entry(next(msg for msg in structs if msg.name == 'Rversion'))}, - }}, + }}}}, """ for ver in sorted(versions): - ret += f"\t[{c_ver(idprefix, ver)}] = {{\n" + ret += f"\t[{c_ver(idprefix, ver)}] = {{ .msgs = {{\n" for msg in structs: if ver not in msg.msgver: continue ret += msg_entry(msg) + ",\n" - ret += "\t},\n" + ret += "\t}},\n" ret += "};\n" ############################################################################ |