]> git.ipfire.org Git - thirdparty/linux.git/commit
scripts/lib/abi/abi_parser.py: use an interactor for ReST output
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 10 Feb 2025 10:18:03 +0000 (11:18 +0100)
committerJonathan Corbet <corbet@lwn.net>
Mon, 10 Feb 2025 18:19:56 +0000 (11:19 -0700)
commit9bec7870c64c00983773cfddab8d6a037f7767f3
tree97ec998c64312f2bc8fbdd4d1a499fbaa8216198
parentc67c3fbdd917884e38a366c38717c9f769075c15
scripts/lib/abi/abi_parser.py: use an interactor for ReST output

Instead of printing all results line per line, use an interactor
to return each variable as a separate message.

This won't change much when using it via command line, but it
will help Sphinx integration by providing an interactor that
could be used there to handle ABI symbol by symbol.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/e3c94b8cdfd5e955aa19a703921f364a89089634.1739182025.git.mchehab+huawei@kernel.org
scripts/get_abi.py
scripts/lib/abi/abi_parser.py