IonicWind Software

Aurora Compiler => Coding Help - Aurora 101 => Topic started by: sapero on October 05, 2007, 04:13:16 AM

Title: Problem converting from C
Post by: sapero on October 05, 2007, 04:13:16 AM
Hello, I have found a problem with a C macro RemoveHeadList from SRVSTRUC.h
#define RemoveHeadList(TYPE,ListHead) \
   (TYPE)(ListHead)->Flink;\   <- here
{\
TYPE FirstEntry;\
FirstEntry =(ListHead)->Flink;\
FirstEntry->Flink->Blink =(TYPE)(ListHead);\
  (ListHead)->Flink = FirstEntry->Flink;\
}

What does the second line, marked as 'here' ? I've ignored it.