librdf_iterator_get_object

Name

librdf_iterator_get_object --  Get the current object from the iterator

Synopsis

void* librdf_iterator_get_object (librdf_iterator* iterator);

Arguments

iterator

the librdf_iterator object

Description

This method returns a SHARED pointer to the current iterator object which should be copied by the caller to preserve it if the iterator is moved on librdf_iterator_next or if it should last after the iterator is closed.

Return value

The next element or NULL if the iterator has finished.