Files
qemu/hw/display
Stefan Hajnoczi f18793b096 compiler: add a sizeof_field() macro
Determining the size of a field is useful when you don't have a struct
variable handy.  Open-coding this is ugly.

This patch adds the sizeof_field() macro, which is similar to
typeof_field().  Existing instances are updated to use the macro.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180614164431.29305-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-06-27 13:01:40 +01:00
..
2017-03-27 12:14:45 +02:00
2018-03-06 14:00:58 +01:00
2017-05-10 10:19:24 +03:00
2016-01-29 15:07:24 +00:00
2018-05-07 11:47:57 +02:00
2018-06-26 16:04:01 +02:00
2017-04-24 12:32:12 +01:00
2016-09-22 18:13:08 +01:00
2018-06-26 16:03:40 +02:00
2018-06-26 16:03:40 +02:00
2018-06-04 09:44:10 +02:00
2018-06-26 16:03:40 +02:00
2018-06-27 13:01:40 +01:00