|
From: | Alex Bennée |
Subject: | Re: [RISU v2 09/17] Unify i/o functions and use RisuResult |
Date: | Wed, 20 May 2020 16:50:21 +0100 |
User-agent: | mu4e 1.4.6; emacs 28.0.50 |
Richard Henderson <address@hidden> writes: > Push the trace check down from the function calling the reginfo > function down into the i/o function. This means we don't have > to pass a function pointer. > > Return a RisuResult from the i/o functions. This fixes a minor bug > in send_register_info (even before the conversion to RisuResult), > which returned the write_fn result directly. > > Signed-off-by: Richard Henderson <address@hidden> Reviewed-by: Alex Bennée <address@hidden> -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |