[4/9] wined3d: replace vendor specific callbacks with generic code that uses vendor specific renderer string tables (try3)

Henri Verbeet hverbeet at gmail.com
Mon Jul 14 07:07:19 CDT 2014

On 11 July 2014 20:44, Andrei Slăvoiu <andrei.slavoiu at gmail.com> wrote:
> +#ifndef NUMELMS
> +#define NUMELMS(array) (sizeof(array)/sizeof((array)[0]))
> +#endif
If you really want this kind of thing it would be called ARRAY_SIZE,
but I'd prefer just writing it out.

More information about the wine-devel mailing list