util: Replace usage of boolean with c11 bool in src/util/format/* and src/util/tests/format/*
This is done by find and replace: boolean -> bool TRUE -> true FALSE -> false Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19649>
This commit is contained in:
@@ -61,9 +61,9 @@ type_map = {
|
||||
|
||||
def bool_map(value):
|
||||
if value:
|
||||
return "TRUE"
|
||||
return "true"
|
||||
else:
|
||||
return "FALSE"
|
||||
return "false"
|
||||
|
||||
|
||||
swizzle_map = {
|
||||
|
||||
Reference in New Issue
Block a user