diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-21 17:30:52 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-21 17:30:52 -0600 |
commit | ef3adc0d857cc0df7579ee66b7d25172ca8af2e1 (patch) | |
tree | 8028357729649fcf8678c69b63342aa13c34e635 /lib9p/core_gen/h.py | |
parent | 59e1fc370371c8da876d6c2ce68794bb7f89e525 (diff) | |
parent | 1a55efa8be3769d9e31724be31db8f967813133d (diff) |
Diffstat (limited to 'lib9p/core_gen/h.py')
-rw-r--r-- | lib9p/core_gen/h.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib9p/core_gen/h.py b/lib9p/core_gen/h.py index ff070c6..3c857c1 100644 --- a/lib9p/core_gen/h.py +++ b/lib9p/core_gen/h.py @@ -201,10 +201,10 @@ def gen_h(versions: set[str], typs: list[idl.UserType]) -> str: enum {c9util.ident('version')} {{ """ - xversions = [ - "unknown = 0", - *sorted(v for v in versions if v != "unknown"), - ] # SPECIAL (initialization) + xversions = [ # SPECIAL (initialization) + "uninitialized = 0", + *sorted(v for v in versions if v != "uninitialized"), + ] verwidth = max(len(v) for v in xversions) for ver in xversions: if ver in versions: |