diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-31 19:56:53 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-31 19:58:54 +0200 |
commit | d9e1caa37e53c7dbc42b1fc652efc23a40c47c42 (patch) | |
tree | d2a1608a3c88fef98af9a356a116af3551ea5680 /c/debug.h | |
parent | d9bafcecfd60f38f98bca8a1705f6007b39e18a2 (diff) | |
download | EpisodeBrowser-d9e1caa37e53c7dbc42b1fc652efc23a40c47c42.tar.gz |
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.
Diffstat (limited to 'c/debug.h')
-rw-r--r-- | c/debug.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |