mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Use MinHook on cpp side too (#858)
Co-authored-by: goaaats <goatsdev@protonmail.com>
This commit is contained in:
parent
a7540d0fef
commit
dbb0cb3d56
13 changed files with 165 additions and 64 deletions
|
|
@ -25,6 +25,11 @@ namespace logging {
|
|||
F = 5,
|
||||
};
|
||||
|
||||
enum FastFailErrorCode : int {
|
||||
Unspecified = 12345,
|
||||
MinHookUnload,
|
||||
};
|
||||
|
||||
void print(Level level, const char* s);
|
||||
|
||||
inline void print(Level level, const wchar_t* s) {
|
||||
|
|
@ -59,4 +64,6 @@ namespace logging {
|
|||
inline void print(const T* pcszFormat, Arg arg1, Args...args) {
|
||||
print(level, std::format(pcszFormat, std::forward<Arg>(arg1), std::forward<Args>(args)...));
|
||||
}
|
||||
|
||||
void update_dll_load_status(bool loaded);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue