Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
test123456654321 committed Oct 26, 2024
1 parent 5ff84d2 commit 943f098
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions LunaHost/LunaHostDll.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ BOOL APIENTRY DllMain(HMODULE hModule,
}

typedef void (*ProcessEvent)(DWORD);
typedef void (*ThreadEvent)(const wchar_t *, const char *, ThreadParam, bool);
typedef void (*ThreadEvent_2)(const wchar_t *, const char *, ThreadParam);
typedef void (*ThreadEvent_maybe_embed)(const wchar_t *, const char *, ThreadParam, bool);
typedef void (*ThreadEvent)(const wchar_t *, const char *, ThreadParam);
typedef bool (*OutputCallback)(const wchar_t *, const char *, ThreadParam, const wchar_t *);
typedef void (*ConsoleHandler)(const wchar_t *);
typedef void (*HookInsertHandler)(uint64_t, const wchar_t *);
Expand All @@ -29,7 +29,7 @@ std::optional<T> checkoption(bool check, T &&t)
return std::move(t);
return {};
}
C_LUNA_API void Luna_Start(ProcessEvent Connect, ProcessEvent Disconnect, ThreadEvent Create, ThreadEvent_2 Destroy, OutputCallback Output, ConsoleHandler console, HookInsertHandler hookinsert, EmbedCallback embed, ConsoleHandler Warning)
C_LUNA_API void Luna_Start(ProcessEvent Connect, ProcessEvent Disconnect, ThreadEvent_maybe_embed Create, ThreadEvent Destroy, OutputCallback Output, ConsoleHandler console, HookInsertHandler hookinsert, EmbedCallback embed, ConsoleHandler Warning)
{
Host::StartEx(
checkoption(Connect, std::function<void(DWORD)>(Connect)),
Expand Down

0 comments on commit 943f098

Please sign in to comment.