From: Tanu Kaskinen Date: Wed, 27 May 2009 13:57:06 +0000 (+0300) Subject: idxset: Fix _get_by_data() comment. X-Git-Tag: v0.98-dev~268^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc82553d7e5ce3602806127fef8090f89d573238;p=platform%2Fupstream%2Fpulseaudio.git idxset: Fix _get_by_data() comment. --- diff --git a/src/pulsecore/idxset.h b/src/pulsecore/idxset.h index d1e68c5..2d01fb4 100644 --- a/src/pulsecore/idxset.h +++ b/src/pulsecore/idxset.h @@ -65,7 +65,7 @@ int pa_idxset_put(pa_idxset*s, void *p, uint32_t *idx); /* Get the entry by its idx */ void* pa_idxset_get_by_index(pa_idxset*s, uint32_t idx); -/* Get the entry by its data. The idx is returned in *index */ +/* Get the entry by its data. The index is returned in *idx */ void* pa_idxset_get_by_data(pa_idxset*s, const void *p, uint32_t *idx); /* Similar to pa_idxset_get_by_index(), but removes the entry from the idxset. */