aboutsummaryrefslogtreecommitdiff
path: root/c/win.h
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-08-03 22:04:05 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-08-03 22:04:05 +0200
commitebac89ec6ae0aca646420320c019a0e1cbb79d7c (patch)
tree2506816a2280bcfb5b6a203cba35caa1dca89b71 /c/win.h
parent04daecdd21e86e7556a9462380096530228cd6ca (diff)
downloadEpisodeBrowser-ebac89ec6ae0aca646420320c019a0e1cbb79d7c.tar.gz
Use Pascal case for all functions.
Diffstat (limited to 'c/win.h')
-rw-r--r--c/win.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/win.h b/c/win.h
index 038f8ea..1615985 100644
--- a/c/win.h
+++ b/c/win.h
@@ -45,7 +45,7 @@ auto Metric = GetSystemMetrics(I);
/* Check result of Windows API call, throwing error on NULL. */
template <typename T>
-inline T require(const T x)
+inline T Require(const T x)
{
if (!x) throw Win32Error();
return x;
@@ -53,7 +53,7 @@ inline T require(const T x)
/* Check result of Windows API call, showing a warning on NULL. */
template <typename T>
-inline T prefer(const T x)
+inline T Prefer(const T x)
{
if (!x) {
EBMessageBox(Win32Error().What(), L"System Error", MB_ICONWARNING);