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

2020-11-17 Thread Markus Armbruster
Eric Blake writes: > On 11/17/20 6:51 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:

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

2020-11-17 Thread Eric Blake
On 11/17/20 6:51 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

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

2020-11-17 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 > --- >

[PATCH v2 5/7] qapi: Introduce QAPI_LIST_APPEND

2020-11-12 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