4 !!LICENCE!! Public Domain
11 struct Record *PtrComp;
15 typedef struct Record RecordType;
16 typedef RecordType *RecordPtr;
18 void Proc3(RecordPtr *PtrParOut)
23 void Proc1(RecordPtr PtrParIn)
25 #define NextRecord (*(PtrParIn->PtrComp))
26 Proc3((RecordPtr *)NextRecord.PtrComp);
27 Proc3(&NextRecord.PtrComp);
28 Proc3(&PtrParIn->PtrComp->PtrComp);
30 #ifdef CAST_STRUCT_PTR
31 Proc3((RecordPtr *) PtrParIn->PtrComp->PtrComp);
32 Proc3((RecordPtr *) (*(PtrParIn->PtrComp)).PtrComp);
33 Proc3((RecordPtr *) NextRecord.PtrComp);
35 Proc3(PtrParIn->PtrComp->PtrComp);
36 Proc3((*(PtrParIn->PtrComp)).PtrComp);
37 Proc3(NextRecord.PtrComp);
45 printf("it works :)\n");