Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 67 → Rev 283

/SPARTAN/trunk/include/list.h
68,7 → 68,7
link_initialize(link); \
}
 
#define list_empty(head) (((head)->next == (head))?1:0)
#define list_empty(head) (((head)->next == (head))?true:false)
 
#define list_get_instance(link,type,member) (type *)(((__u8*)(link))-((__u8*)&(((type *)NULL)->member)))