From d9e1caa37e53c7dbc42b1fc652efc23a40c47c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 31 Jul 2022 19:56:53 +0200 Subject: Limit use of Hungarian notation. I don't hate Hungarian notation. It has some very nice qualities. But it also adds a lot of typing. That said, not using it feels a bit... unsafe. I might go back on this decision. We'll see. --- c/debug.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/debug.h') diff --git a/c/debug.h b/c/debug.h index d539573..83ff289 100644 --- a/c/debug.h +++ b/c/debug.h @@ -3,7 +3,7 @@ struct Benchmark { - Benchmark(const char* szName, int iId, int iAvgMax); + Benchmark(const char* name, int id, int avgmax); ~Benchmark(); void Disable(); long long ticks; @@ -13,6 +13,6 @@ struct Benchmark const char* name; }; -const char* SzFromUmsg(unsigned uMsg); +const char* MsgName(unsigned uMsg); #endif -- cgit v1.2.3