Add a little more event loop debug output

This commit is contained in:
Kovid Goyal
2019-07-07 06:10:59 +05:30
parent e7173f8145
commit 003cd0a203
3 changed files with 25 additions and 0 deletions
+1
View File
@@ -313,3 +313,4 @@ SPRITE_MAP_HANDLE alloc_sprite_map(unsigned int, unsigned int);
SPRITE_MAP_HANDLE free_sprite_map(SPRITE_MAP_HANDLE);
static inline void safe_close(int fd) { while(close(fd) != 0 && errno == EINTR); }
void log_event(const char *format, ...) __attribute__((format(printf, 1, 2)));