On 8/16/14, 12:42 PM, Victor Porton wrote: > raptor_world_get_parser_description () > Returns : description or NULL if counter is out of range > > But there are no way to know the range of the counter! (except to start from > zero and calling raptor_world_get_parser_description() with counter > increasing by one until it return NULL). > > I think that a function to return the number of parsers was forgotten. > > Or is it a deliberate design decision to call > raptor_world_get_parser_description() with counter increasing by one until it > return NULL? > > The same applies for raptor_world_get_serializer_description ().
It was a deliberate decision to make an iteration since you generally walk through the list entirely to find what you want. Dave _______________________________________________ redland-dev mailing list [email protected] http://lists.librdf.org/mailman/listinfo/redland-dev
