16 lines
304 B
C
16 lines
304 B
C
|
#pragma once
|
||
|
|
||
|
#include <SDL_assert.h>
|
||
|
#include <SDL_log.h>
|
||
|
#include <SDL_mutex.h>
|
||
|
|
||
|
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);
|