Contents

getLastObject

Returns the last member of the array.

Declaration

OSObject * getLastObject(void);
virtual OSObject * getLastObject(void);

Return Value

Member at the last index or NULL if array has no members.

Discussion

If the array has non-zero count the member at the last index is returned, with no additional retain count (the caller should not release). Otherwise NULL.

See Also

Accessing Elements