Files
glib/docs
Philip Withnall 9d23578318 gmacros: Add G_COUNTED_BY macro
This currently probably does nothing, but in future both gcc and clang
will support the annotation it uses, and use that to do compile-time
bounds checking on flexible arrays.

See https://people.kernel.org/kees/bounded-flexible-arrays-in-c

It’s the same implementation as used in the kernel:
805d849d7c/include/linux/compiler_attributes.h (L97-L108).

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
2024-02-29 13:42:06 +00:00
..
2024-02-29 13:42:06 +00:00
2023-12-21 07:45:04 +01:00
2022-06-14 15:19:32 +01:00