Named typedef-ed structs Gave name to structs that were defined like anonymous struct with name given by typedef. Example 'typedef struct {...} Foo;' -> 'typedef struct Foo {...} Foo;'

This commit is contained in:
Tolik708 authored and Sam Lantinga committed 2024-03-10 09:04:18 -07:00
1 parent 37d066b99b
commit 2a775cad6f
5 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -52,7 +52,7 @@ extern "C" {
* GUIDs may be platform-dependent (i.e., the same device may report
* different GUIDs on different operating systems).
*/
typedef struct {
typedef struct SDL_GUID {
Uint8 data[16];
} SDL_GUID;