From fd824713036516a70e9c250b6279e779708ee5e1 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Sat, 21 Jul 2018 15:30:42 -0700 Subject: [PATCH] remove unneeded stuff --- texthook/hookman.h | 4 ++-- texthook/textthread.h | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/texthook/hookman.h b/texthook/hookman.h index c5e939a..f8c3c02 100644 --- a/texthook/hookman.h +++ b/texthook/hookman.h @@ -19,8 +19,8 @@ struct ProcessRecord HANDLE hostPipe; }; -typedef void(__stdcall *ProcessEventCallback)(DWORD pid); -typedef void(__stdcall *ThreadEventCallback)(TextThread*); +typedef void(*ProcessEventCallback)(DWORD pid); +typedef void(*ThreadEventCallback)(TextThread*); struct ThreadParameterHasher { diff --git a/texthook/textthread.h b/texthook/textthread.h index 321096f..a541971 100644 --- a/texthook/textthread.h +++ b/texthook/textthread.h @@ -22,10 +22,8 @@ struct ThreadParameter } }; -#define CURRENT_SELECT 0x1000 - class TextThread; -typedef std::wstring(__stdcall *ThreadOutputCallback)(TextThread*, std::wstring data); +typedef std::wstring(*ThreadOutputCallback)(TextThread*, std::wstring data); //extern DWORD split_time,repeat_count,global_filter,cyclic_remove;