diff template/dw.c @ 2906:9d6280f206bd

Minor code cleanups in the template and C++ bindings.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 25 Dec 2022 16:21:52 +0000
parents 761b7a12b079
children 3fe7641f027c
line wrap: on
line diff
--- a/template/dw.c	Sun Dec 25 16:02:59 2022 +0000
+++ b/template/dw.c	Sun Dec 25 16:21:52 2022 +0000
@@ -362,12 +362,15 @@
    va_list args;
 
    va_start(args, format);
-   vfprintf(stderr, format, args);
+   dw_vdebug(format, args);
    va_end(args);
 }
 
 void API dw_vdebug(const char *format, va_list args)
 {
+   /* Output to stderr, if there is another way to send it
+    * on the implementation platform, change this.
+    */
    vfprintf(stderr, format, args);
 }