From 7d448d911d862c06255873820aee32487fbc4943 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Sat, 2 Jan 2021 11:38:06 +0100 Subject: use C++ style structs everywhere --- src/Config.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/Config.h') diff --git a/src/Config.h b/src/Config.h index 9fd7488..9671f16 100644 --- a/src/Config.h +++ b/src/Config.h @@ -26,7 +26,7 @@ namespace Config { -typedef struct +struct ConfigEntry { char Name[32]; int Type; @@ -34,8 +34,7 @@ typedef struct int DefaultInt; const char* DefaultStr; int StrLength; // should be set to actual array length minus one - -} ConfigEntry; +}; FILE* GetConfigFile(const char* fileName, const char* permissions); bool HasConfigFile(const char* fileName); -- cgit v1.2.3