mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-19 00:17:51 +02:00
Add and use G_SIZEOF_MEMBER() macro
A convenient macro present in the Linux kernel, named FIELD_SIZE() there. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
@@ -424,6 +424,7 @@ CLAMP
|
||||
G_APPROX_VALUE
|
||||
|
||||
<SUBSECTION>
|
||||
G_SIZEOF_MEMBER
|
||||
G_STRUCT_MEMBER
|
||||
G_STRUCT_MEMBER_P
|
||||
G_STRUCT_OFFSET
|
||||
|
Reference in New Issue
Block a user