ntdll/tests: Add tests for RtlIpv4StringToAddressEx, RtlIpv6StringToAddress (resend)

Dmitry Timoshkov dmitry at baikal.ru
Sun Feb 15 21:08:23 CST 2015


Stefan Dösinger <stefandoesinger at gmail.com> wrote:

> > +    struct
> > +    {
> > +        PCSTR address;
> > +        NTSTATUS res;
> > +        int ip[4];
> > +        USHORT port;
> > +    } tests[] =
> You can make this const (or even static const, not much difference though).

There is a difference, with 'static const' the compiler will place
the data into a read-only section, simple 'const' still goes into
a read-write one.

-- 
Dmitry.



More information about the wine-devel mailing list