Changeset bc216a0 in mainline for uspace/lib/c/include/adt/list.h
- Timestamp:
- 2012-08-07T22:13:44Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- da68871a
- Parents:
- b17518e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/adt/list.h
rb17518e rbc216a0 105 105 assert(((link)->prev == NULL) && ((link)->next == NULL)) 106 106 107 /** Returns true if the link is definitely part of a list. False if not sure. */ 108 static inline int link_in_use(link_t *link) 109 { 110 return link->prev != NULL && link->next != NULL; 111 } 112 107 113 /** Initialize doubly-linked circular list link 108 114 *
Note:
See TracChangeset
for help on using the changeset viewer.