prepare for use with c++/cli

This commit is contained in:
Akash Mozumdar 2018-07-21 14:01:38 -07:00
parent a2924f4a2c
commit 4aef775a6a
2 changed files with 3 additions and 3 deletions

View File

@ -19,8 +19,8 @@ struct ProcessRecord
HANDLE hostPipe; HANDLE hostPipe;
}; };
typedef void(*ProcessEventCallback)(DWORD pid); typedef void(__stdcall *ProcessEventCallback)(DWORD pid);
typedef void(*ThreadEventCallback)(TextThread*); typedef void(__stdcall *ThreadEventCallback)(TextThread*);
struct ThreadParameterHasher struct ThreadParameterHasher
{ {

View File

@ -25,7 +25,7 @@ struct ThreadParameter
#define CURRENT_SELECT 0x1000 #define CURRENT_SELECT 0x1000
class TextThread; class TextThread;
typedef std::wstring(*ThreadOutputCallback)(TextThread*, std::wstring data); typedef std::wstring(__stdcall *ThreadOutputCallback)(TextThread*, std::wstring data);
//extern DWORD split_time,repeat_count,global_filter,cyclic_remove; //extern DWORD split_time,repeat_count,global_filter,cyclic_remove;