Re: [PATCH 3/6] qapi: Simplify full_name_nth() in qobject-input-visitor

2021-01-28 Thread Kevin Wolf
Am 28.01.2021 um 08:43 hat Markus Armbruster geschrieben: > Kevin Wolf writes: > > > Am 27.01.2021 um 14:56 hat Markus Armbruster geschrieben: > >> Kevin Wolf writes: > >> > >> > Instead of counting how many elements from the top of the stack we need > >> > to ignore until we find the thing we'

Re: [PATCH 3/6] qapi: Simplify full_name_nth() in qobject-input-visitor

2021-01-27 Thread Markus Armbruster
Kevin Wolf writes: > Am 27.01.2021 um 14:56 hat Markus Armbruster geschrieben: >> Kevin Wolf writes: >> >> > Instead of counting how many elements from the top of the stack we need >> > to ignore until we find the thing we're interested in, we can just >> > directly pass the StackObject pointer

Re: [PATCH 3/6] qapi: Simplify full_name_nth() in qobject-input-visitor

2021-01-27 Thread Kevin Wolf
Am 27.01.2021 um 14:56 hat Markus Armbruster geschrieben: > Kevin Wolf writes: > > > Instead of counting how many elements from the top of the stack we need > > to ignore until we find the thing we're interested in, we can just > > directly pass the StackObject pointer because all callers already

Re: [PATCH 3/6] qapi: Simplify full_name_nth() in qobject-input-visitor

2021-01-27 Thread Markus Armbruster
Kevin Wolf writes: > Instead of counting how many elements from the top of the stack we need > to ignore until we find the thing we're interested in, we can just > directly pass the StackObject pointer because all callers already know > it. > > We only need a different way now to tell if we want

[PATCH 3/6] qapi: Simplify full_name_nth() in qobject-input-visitor

2020-11-12 Thread Kevin Wolf
Instead of counting how many elements from the top of the stack we need to ignore until we find the thing we're interested in, we can just directly pass the StackObject pointer because all callers already know it. We only need a different way now to tell if we want to know the name of something co