toaruos/include/_xlog.h
2018-02-25 14:13:54 +09:00

16 lines
226 B
C

#include <stdint.h>
#include <stddef.h>
#include <syscall.h>
#define _XLOG(_msg) do { \
char * msg[] = { \
__FILE__, \
(char*)__LINE__, \
(char*)2, \
_msg, \
}; \
syscall_system_function(12, msg); \
} while (0);