Files
mesa/src
LingMan ada1076f98 rusticl/api: Interpret lengths as a slice of Option<NonZeroUsize>
So far `lengths` as been interpreted as a slice of usize. However, 0 is specified as a sentinel
value signalling that the corresponding string is nul terminated. Since checking for sentinel
values is frequently forgotten, Option types should be preferred if possible.

Option<NonZeroUsize> is layout compatible with usize. The None variant is then represented as 0,
which is exaclty what we need here.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18978>
2022-10-19 23:32:50 +00:00
..
2022-10-18 22:22:58 +00:00
2022-10-19 06:27:20 +00:00
2022-09-16 02:06:38 +00:00
2022-10-10 17:22:49 +00:00
2022-10-09 22:39:53 +03:00
2022-07-29 23:59:11 +00:00