Commit 7fb4519f authored by Sebastian Ramacher's avatar Sebastian Ramacher

return bool

parent 0a1f05f6
......@@ -155,12 +155,12 @@ girara_list_iterator_t* girara_list_iterator_next(girara_list_iterator_t* iter)
return iter;
}
gboolean girara_list_iterator_has_next(girara_list_iterator_t* iter)
bool girara_list_iterator_has_next(girara_list_iterator_t* iter)
{
return iter && iter->element && g_list_next(iter->element);
}
gboolean girara_list_iterator_is_valid(girara_list_iterator_t* iter)
bool girara_list_iterator_is_valid(girara_list_iterator_t* iter)
{
return iter && iter->element;
}
......
......@@ -110,7 +110,7 @@ girara_list_iterator_t* girara_list_iterator_next(girara_list_iterator_t* iter);
* @param list The list iterator
* @return true if iterator has a next element, false otherwise
*/
gboolean girara_list_iterator_has_next(girara_list_iterator_t* iter);
bool girara_list_iterator_has_next(girara_list_iterator_t* iter);
/**
* Check if iterator is valid
......@@ -118,7 +118,7 @@ gboolean girara_list_iterator_has_next(girara_list_iterator_t* iter);
* @param list The list iterator
* @return true if iterator is valid, false otherwise
*/
gboolean girara_list_iterator_is_valid(girara_list_iterator_t* iter);
bool girara_list_iterator_is_valid(girara_list_iterator_t* iter);
/**
* Get data from the element pointed to by the iterator.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment