Project

General

Profile

Bug #9855

list_next/list_prev needs a bit more detail

Added by Dan McDonald about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
manpage - manual pages
Start date:
2018-09-21
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

Currently:

       The list_next() and list_prev() functions return the next or previous
       item in the list, relative to the named reference item which must be
       linked on the list.

It says nothing about returning NULL when reaching one or the other end of the list. Perhaps something like:

       The list_next() and list_prev() functions return the next or previous
       item in the list, relative to the named reference item which must be
       linked on the list. If the named reference item is at the end (for list_next())
       or beginning (for list_prev()) of the list, the function returns NULL.

Also available in: Atom PDF