From 67d3752f3e59e7f5af163f3521f2c2011392d1f9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 7 Oct 2013 12:03:40 +0000 Subject: - JSONROOT added to handle json parser more conveniently; - TCHAR* is returned everywhere instead of char*; git-svn-id: http://svn.miranda-ng.org/main/trunk@6393 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_core/modules.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mir_core/modules.cpp') diff --git a/src/mir_core/modules.cpp b/src/mir_core/modules.cpp index bbbdfc2f61..2ea78d5e34 100644 --- a/src/mir_core/modules.cpp +++ b/src/mir_core/modules.cpp @@ -290,7 +290,7 @@ extern "C" MIR_CORE_DLL(int) GetSubscribersCount(THook* pHook) return pHook->subscriberCount; } -static HANDLE HookEventInt(int type, const char* name, MIRANDAHOOK hookProc, void* object, LPARAM lParam) +static HANDLE HookEventInt(int type, const char *name, MIRANDAHOOK hookProc, void* object, LPARAM lParam) { mir_cslock lck(csHooks); @@ -310,27 +310,27 @@ static HANDLE HookEventInt(int type, const char* name, MIRANDAHOOK hookProc, voi return (HANDLE)((p->id << 16) | p->subscriberCount); } -MIR_CORE_DLL(HANDLE) HookEvent(const char* name, MIRANDAHOOK hookProc) +MIR_CORE_DLL(HANDLE) HookEvent(const char *name, MIRANDAHOOK hookProc) { return HookEventInt(1, name, hookProc, 0, 0); } -MIR_CORE_DLL(HANDLE) HookEventParam(const char* name, MIRANDAHOOKPARAM hookProc, LPARAM lParam) +MIR_CORE_DLL(HANDLE) HookEventParam(const char *name, MIRANDAHOOKPARAM hookProc, LPARAM lParam) { return HookEventInt(2, name, (MIRANDAHOOK)hookProc, 0, lParam); } -MIR_CORE_DLL(HANDLE) HookEventObj(const char* name, MIRANDAHOOKOBJ hookProc, void* object) +MIR_CORE_DLL(HANDLE) HookEventObj(const char *name, MIRANDAHOOKOBJ hookProc, void* object) { return HookEventInt(3, name, (MIRANDAHOOK)hookProc, object, 0); } -MIR_CORE_DLL(HANDLE) HookEventObjParam(const char* name, MIRANDAHOOKOBJPARAM hookProc, void* object, LPARAM lParam) +MIR_CORE_DLL(HANDLE) HookEventObjParam(const char *name, MIRANDAHOOKOBJPARAM hookProc, void* object, LPARAM lParam) { return HookEventInt(4, name, (MIRANDAHOOK)hookProc, object, lParam); } -MIR_CORE_DLL(HANDLE) HookEventMessage(const char* name, HWND hwnd, UINT message) +MIR_CORE_DLL(HANDLE) HookEventMessage(const char *name, HWND hwnd, UINT message) { mir_cslock lck(csHooks); -- cgit v1.2.3