Re: [1/2] imagehlp: Add tests for ImageGetDigestStream
July 17, 2010
8:26 p.m.
On 17 July 2010 09:07, Andrey Turkin <andrey.turkin(a)gmail.com> wrote:
+#ifdef NONAMELESSUNION +# define U(x) (x).u +#else +# define U(x) (x) +#endif I think this is already done in wine/test.h?
+static BOOL WINAPI accumulating_stream_output(DIGEST_HANDLE handle, BYTE *pb, + DWORD cb) "pb" can probably be const.
July 2010
10:33 a.m.
New subject: [1/2] imagehlp: Add tests for ImageGetDigestStream
On Sunday 18 July 2010 00:26:50 Henri Verbeet wrote: > On 17 July 2010 09:07, Andrey Turkin <andrey.turkin(a)gmail.com> wrote: > > +#ifdef NONAMELESSUNION > > +# define U(x) (x).u > > +#else > > +# define U(x) (x) > > +#endif > > I think this is already done in wine/test.h? Right. Some other tests define NONAMELESSUNION and just use "u" as union name - I'll rewrite this to do the same. > > > +static BOOL WINAPI accumulating_stream_output(DIGEST_HANDLE handle, BYTE > > *pb, + DWORD cb) > > "pb" can probably be const. No it cannot. accumulating_stream_output is a callback function and its signature must be the same as DIGEST_FUNCTION.
5731
Age (days ago)
5732
Last active (days ago)
1 comments
2 participants
participants (2)
-
Andrey Turkin -
Henri Verbeet