[PATCH xserver 01/15] dri3: annotate the dri3_screen_info data as const

Adam Jackson ajax at redhat.com
Mon Apr 2 19:34:22 UTC 2018


On Mon, 2018-04-02 at 16:41 +0100, Emil Velikov wrote:

> Why do we have the explicit _rec and _ptr typecasts to begin with?

Convention, mostly. The typedef for the struct is because 'struct' is a
dumb word to need to say all the time. The typedef for the pointer is
vaguely distasteful and I've been trying to stop.

- ajax


More information about the xorg-devel mailing list