#include <nnsys/fnd.h>
void* NNS_FndGetPrevListObject( const NNSFndList* list, const void* object );
list |
Pointer to the list structure |
object |
Pointer to the current object |
Returns a pointer to the object in the list that is one object before the specified object. Returns NULL
if there is no previous object.
Returns the pointer to the previous object in the list (the one before the object designated with object
). Returns the pointer to the object connected to the end of the list if object
is set to NULL
. Returns NULL
if there is no previous object.
The following process can be carried out to access all objects in the list in reverse order.
void* object = NULL;
while ((object = NNS_FndGetPrevListObject(list, object)) != NULL)
{
......
}
NNS_FndGetNextListObject
NNS_FndNthListObject
2004/10/21 Corrected the sample code in the description.
2004/02/02 Initial version.
CONFIDENTIAL