1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-03-05 22:32:18 +00:00
UltimateTrainingModpack/source/useful.h
Shivam Dutt 1f9d492626 Updated to latest version of code-mod-framework
Fixed formatting and indentation
2019-05-27 17:08:56 -05:00

14 lines
296 B
C

#ifndef USEFUL_H
#define USEFUL_H
#include <switch.h>
#include <string.h>
#include <stdio.h>
#define LINKABLE __attribute__ ((weak))
#define debug_log(...) \
{char log_buf[0x200]; snprintf(log_buf, 0x200, __VA_ARGS__); \
svcOutputDebugString(log_buf, strlen(log_buf));}
#endif // USEFUL_H