20 Feb
2023
20 Feb
'23
5:16 p.m.
From patch 1/4:
+static const char * get_case_insensitive_typename(const char *name)
+{
+ static const char *names[] =
+ {
+ "dword",
+ "float",
+ "matrix",
+ "string",
+ "vector",
+ };
We'd want the names[] array itself to be const as well, right? (I.e., "static const char *const names[] = ...") -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/101#note_24817