summary refs log tree commit diff stats
path: root/util/async.c
diff options
context:
space:
mode:
authorEmanuele Giuseppe Esposito <eesposit@redhat.com>2022-11-28 09:23:35 -0500
committerKevin Wolf <kwolf@redhat.com>2022-12-15 16:07:43 +0100
commit6700dfb1b8c2828aa0c851136892c4774de87c95 (patch)
tree044eb629c77b4d2cd8a4d9ee450f056938aab452 /util/async.c
parent0582fb8293ad4a5d67810fb362789eba6e0ae75e (diff)
downloadfocaccia-qemu-6700dfb1b8c2828aa0c851136892c4774de87c95.tar.gz
focaccia-qemu-6700dfb1b8c2828aa0c851136892c4774de87c95.zip
block-coroutine-wrapper.py: support also basic return types
Extend the regex to cover also return type, pointers included.
This implies that the value returned by the function cannot be
a simple "int" anymore, but the custom return type.
Therefore remove poll_state->ret and instead use a per-function
custom "ret" field.

Signed-off-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Message-Id: <20221128142337.657646-13-eesposit@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util/async.c')
0 files changed, 0 insertions, 0 deletions