4 !!LICENCE!! Public Domain
9 struct Record *PtrComp;
13 typedef struct Record RecordType;
14 typedef RecordType *RecordPtr;
16 void Proc3(RecordPtr *PtrParOut)
21 void Proc1(RecordPtr PtrParIn)
23 #define NextRecord (*(PtrParIn->PtrComp))
24 Proc3((RecordPtr *)NextRecord.PtrComp);
25 Proc3(&NextRecord.PtrComp);
26 Proc3(&PtrParIn->PtrComp->PtrComp);
28 #ifdef CAST_STRUCT_PTR
29 Proc3((RecordPtr *) PtrParIn->PtrComp->PtrComp);
30 Proc3((RecordPtr *) (*(PtrParIn->PtrComp)).PtrComp);
31 Proc3((RecordPtr *) NextRecord.PtrComp);
33 Proc3(PtrParIn->PtrComp->PtrComp);
34 Proc3((*(PtrParIn->PtrComp)).PtrComp);
35 Proc3(NextRecord.PtrComp);
43 printf("it works :)\n");