Add a debugErrLn function, which is like debugLn except it prints to stderr
[ghc-prim.git] / cbits / debug.c
index ff34c5a..3a57098 100644 (file)
@@ -4,3 +4,7 @@
 void debugLn(char *s) {
     printf("%s\n", s);
 }
+
+void debugErrLn(char *s) {
+    fprintf(stderr, "%s\n", s);
+}