>> > I think will be better the other way, using the return value to flag >> > existence, and passing a pointer to store the result. This will allow >> > shorter and cleaner code. > > Another possibility might be to avoid the extra parameter altogether, > returning NULL (not PMCNULL) if the element doesn't exist.
I think that way is less clear, and I like better to have the same interface for PMC and non PMC versions. -- Salu2