Changeset 936351c1 in mainline for libadt/include/list.h
- Timestamp:
- 2006-03-14T23:48:33Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d73942c
- Parents:
- 4f34b6a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libadt/include/list.h
r4f34b6a r936351c1 178 178 } 179 179 180 #define list_get_instance(link,type,member) (type *)((( __u8*)(link))-((__u8*)&(((type *)NULL)->member)))180 #define list_get_instance(link,type,member) (type *)(((char *)(link))-((char *)&(((type *)NULL)->member))) 181 181 182 182 extern int list_member(const link_t *link, const link_t *head);
Note:
See TracChangeset
for help on using the changeset viewer.