diff options
author | 2024-10-03 14:54:46 -0400 | |
---|---|---|
committer | 2024-11-11 13:42:06 -0500 | |
commit | ac159338d53b8846b020be8260884e8234572a70 (patch) | |
tree | c49d23894b1616b016c58e10f30c2369ad1315f8 /tools/net/sunrpc/xdrgen/subcmds/source.py | |
parent | xdrgen: Add generator code for XDR width macros (diff) | |
download | linux-rng-ac159338d53b8846b020be8260884e8234572a70.tar.xz linux-rng-ac159338d53b8846b020be8260884e8234572a70.zip |
xdrgen: emit maxsize macros
Add "definitions" subcommand logic to emit maxsize macros in
generated code.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to '')
-rw-r--r-- | tools/net/sunrpc/xdrgen/subcmds/source.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/net/sunrpc/xdrgen/subcmds/source.py b/tools/net/sunrpc/xdrgen/subcmds/source.py index 00c04ad15b89..2024954748f0 100644 --- a/tools/net/sunrpc/xdrgen/subcmds/source.py +++ b/tools/net/sunrpc/xdrgen/subcmds/source.py @@ -83,8 +83,7 @@ def generate_client_source(filename: str, root: Specification, language: str) -> gen = XdrSourceTopGenerator(language, "client") gen.emit_source(filename, root) - # cel: todo: client needs XDR size macros - + print("") for definition in root.definitions: emit_source_encoder(definition.value, language, "client") for definition in root.definitions: |