feat(teipe): initial commit
This commit is contained in:
11
libxkbcommonrs/ffi/logger.h
Normal file
11
libxkbcommonrs/ffi/logger.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#include <stdarg.h>
|
||||
#include <xkbcommon/xkbcommon.h>
|
||||
|
||||
typedef void (*callback_type)(struct xkb_context *context,
|
||||
enum xkb_log_level level, const char *message);
|
||||
|
||||
void log_set_callback(callback_type callback);
|
||||
|
||||
/// xkb log callback wrapper for printf formatting
|
||||
void log_logger(struct xkb_context *context, enum xkb_log_level level,
|
||||
const char *format, va_list args);
|
||||
Reference in New Issue
Block a user