comparison 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
comparison
equal deleted inserted replaced
2905:0f5008c05134 2906:9d6280f206bd
360 void API dw_debug(const char *format, ...) 360 void API dw_debug(const char *format, ...)
361 { 361 {
362 va_list args; 362 va_list args;
363 363
364 va_start(args, format); 364 va_start(args, format);
365 vfprintf(stderr, format, args); 365 dw_vdebug(format, args);
366 va_end(args); 366 va_end(args);
367 } 367 }
368 368
369 void API dw_vdebug(const char *format, va_list args) 369 void API dw_vdebug(const char *format, va_list args)
370 { 370 {
371 /* Output to stderr, if there is another way to send it
372 * on the implementation platform, change this.
373 */
371 vfprintf(stderr, format, args); 374 vfprintf(stderr, format, args);
372 } 375 }
373 376
374 /* 377 /*
375 * Displays a Message Box with given text and title.. 378 * Displays a Message Box with given text and title..