#pragma once #include #include #include struct LogWrapper { void* userdata; SDL_mutex* mutex; SDL_LogOutputFunction fn; }; // static void my_SDL_Log (void* userdata, int category, SDL_LogPriority priority, const char* message); void my_SDL_Log_Init (void);