toaruos/base/usr/include/_xlog.h
2018-10-12 11:15:40 +09:00

15 lines
225 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);