]> sigrok.org Git - libsigrokdecode.git/commit
Look up instances by ID in the full stack
authorKarl Palsson <redacted>
Mon, 28 Nov 2016 17:31:55 +0000 (17:31 +0000)
committerUwe Hermann <redacted>
Mon, 20 Feb 2017 15:28:27 +0000 (16:28 +0100)
commit79d0013e85ca5ee5086ece1528b4403777a01f96
tree31bf12abd1e85b45b299865167618aac6379c276
parent3262ef0203e23399f3cab796391da06969c8306b
Look up instances by ID in the full stack

srd_inst_find_by_id() previously only searched for instance IDs at the
bottom of any stacked decoders. Make it properly search all stacks,
just like srd_inst_find_by_obj() and more usefully when trying to
generate unique instance IDs.

No external API change, only the explicit behaviour of the API.

This fixes parts of bug #868.

Signed-off-by: Karl Palsson <redacted>
instance.c