librdf_iterator_get_context

Name

librdf_iterator_get_context --  Get the context of the current object on the iterator

Synopsis

void* librdf_iterator_get_context (librdf_iterator* iterator);

Arguments

iterator

the librdf_iterator object

Description

This method returns a SHARED pointer to the current context node 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 context or NULL if the iterator has finished.