Sequences in a loop

Nikolay Sivov bunglehead at gmail.com
Fri Aug 30 07:39:08 CDT 2013


On 8/30/2013 16:33, matyapiro31 wrote:
> 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.
I guess by sequences you mean arrays?
> Should I change them?
>
Change them to what? And what will it solve?



More information about the wine-devel mailing list