diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-29 18:26:16 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-29 18:26:16 -0600 |
commit | a30e879a82b06df850698e6bd30068dc0893a845 (patch) | |
tree | 3ecce9bac17d3a4b89b11f1df281c0587d4443d4 /lib9p/protogen/c.py | |
parent | 6ab74d74ee6dc1663b66d0a9a0471f63ade5659a (diff) | |
parent | 9096e2d9cb6f438e49aa29aa2cfaef1717466a05 (diff) |
Merge branch 'lukeshu/9p-idl-improvements'
Diffstat (limited to 'lib9p/protogen/c.py')
-rw-r--r-- | lib9p/protogen/c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib9p/protogen/c.py b/lib9p/protogen/c.py index 5e67939..cc1daea 100644 --- a/lib9p/protogen/c.py +++ b/lib9p/protogen/c.py @@ -118,7 +118,7 @@ const char *const {c9util.ident('_table_ver_name')}[{c9util.ver_enum('NUM')}] = + "".join( ( "1" - if bit.cat in (idl.BitCat.USED, idl.BitCat.SUBFIELD) + if (bit.cat == "USED" or isinstance(bit.cat, idl.BitNum)) and ver in bit.in_versions else "0" ) |