From ebac89ec6ae0aca646420320c019a0e1cbb79d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Wed, 3 Aug 2022 22:04:05 +0200 Subject: Use Pascal case for all functions. --- c/win.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'c/win.h') 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 -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 -inline T prefer(const T x) +inline T Prefer(const T x) { if (!x) { EBMessageBox(Win32Error().What(), L"System Error", MB_ICONWARNING); -- cgit v1.2.3