Sequences in a loop

matyapiro31 matyapiro31 at gmail.com
Fri Aug 30 07:33:09 CDT 2013


I found many wine sources use not a pointer,but a sequence .
for example:
krnl386.exe16/dma.c:
for(i=0,p=(char*)DMA_CurrentBaseAddress[channel];i<ret*size;i++)
msdaps/usrmarshal.c: for(prop = 0; prop <
rgPropertySets[prop_set].cProperties; prop++)
I know in some cases to use sequences are wiser way than pointers,
but so many of them are used in loops.
Should I change them?





More information about the wine-devel mailing list