Re: [PATCH v3 5/7] qapi: Introduce QAPI_LIST_APPEND

2021-01-13 Thread Eric Blake
On 1/13/21 7:04 AM, Markus Armbruster wrote: > Eric Blake writes: > >> Similar to the existing QAPI_LIST_PREPEND, but designed for use where >> we want to preserve insertion order. Callers will be added in >> upcoming patches. Note the difference in signature: PREPEND takes >> List*, APPEND tak

Re: [PATCH v3 5/7] qapi: Introduce QAPI_LIST_APPEND

2021-01-13 Thread Markus Armbruster
Eric Blake writes: > Similar to the existing QAPI_LIST_PREPEND, but designed for use where > we want to preserve insertion order. Callers will be added in > upcoming patches. Note the difference in signature: PREPEND takes > List*, APPEND takes List**. > > Signed-off-by: Eric Blake > --- > in

Re: [PATCH v3 5/7] qapi: Introduce QAPI_LIST_APPEND

2020-12-23 Thread Vladimir Sementsov-Ogievskiy
24.12.2020 01:11, Eric Blake wrote: Similar to the existing QAPI_LIST_PREPEND, but designed for use where we want to preserve insertion order. Callers will be added in upcoming patches. Note the difference in signature: PREPEND takes List*, APPEND takes List**. Signed-off-by: Eric Blake ---

[PATCH v3 5/7] qapi: Introduce QAPI_LIST_APPEND

2020-12-23 Thread Eric Blake
Similar to the existing QAPI_LIST_PREPEND, but designed for use where we want to preserve insertion order. Callers will be added in upcoming patches. Note the difference in signature: PREPEND takes List*, APPEND takes List**. Signed-off-by: Eric Blake --- include/qapi/util.h | 13 +