aboutsummaryrefslogtreecommitdiff
path: root/c/common.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c/common.cpp')
-rw-r--r--c/common.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/c/common.cpp b/c/common.cpp
index 93f97eb..bcc5fd0 100644
--- a/c/common.cpp
+++ b/c/common.cpp
@@ -6,8 +6,7 @@
#include "defs.h"
/* Convert normal string to TSTR using given codepage. */
-TCHAR *
-TszFromSz(const char *sz, int iCp)
+TCHAR *TszFromSz(const char *sz, int iCp)
{
TCHAR *tsz;
@@ -40,14 +39,12 @@ Library::~Library()
FreeLibrary(m_hModule);
}
-FARPROC
-Library::GetProcAddress(const char *szProc)
+FARPROC Library::GetProcAddress(const char *szProc)
{
return m_hModule? ::GetProcAddress(m_hModule, szProc): NULL;
}
-std::unique_ptr<Library>
-Library::Load(const TCHAR *tszLibrary)
+std::unique_ptr<Library> Library::Load(const TCHAR *tszLibrary)
{
auto upLib = std::make_unique<Library>(tszLibrary);
if (!upLib->m_hModule) upLib = nullptr;