summaryrefslogtreecommitdiffstats
path: root/lisiblepng/src/log.h
diff options
context:
space:
mode:
authorClement Sibille <clements+git@lisible.xyz>2024-02-26 02:20:32 +0900
committerClement Sibille <clements+git@lisible.xyz>2024-02-26 02:20:32 +0900
commitea36f30a8e1993d4aacc8974cd0994db67902467 (patch)
tree71fbf9ce5aa8d468277d2caf25ae925a0d42d59d /lisiblepng/src/log.h
Initial commit
Diffstat (limited to 'lisiblepng/src/log.h')
-rw-r--r--lisiblepng/src/log.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisiblepng/src/log.h b/lisiblepng/src/log.h
new file mode 100644
index 0000000..fba6820
--- /dev/null
+++ b/lisiblepng/src/log.h
@@ -0,0 +1,9 @@
+#ifndef LISIBLE_PNG_LOG_H
+#define LISIBLE_PNG_LOG_H
+
+#include <stdio.h>
+
+#define LOG0(fmt) fprintf(stderr, fmt "\n")
+#define LOGN(fmt, ...) fprintf(stderr, fmt "\n", __VA_ARGS__)
+
+#endif // LISIBLE_PNG_LOG_H
Go back to lisible.xyz