diff dw.h @ 2901:761b7a12b079

Add va_list versions of dw_debug() and dw_messagebox() for use in C++ bindings. dw_vdebug() and dw_vmessagebox() work similarly to the standard library versions. DW::App:Debug() and DW::App:MessageBox() use them for variable arguments.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 25 Dec 2022 00:20:49 +0000
parents 939fbceec13f
children cb9e8494f534
line wrap: on
line diff
--- a/dw.h	Sat Dec 24 14:28:39 2022 +0000
+++ b/dw.h	Sun Dec 25 00:20:49 2022 +0000
@@ -2187,7 +2187,9 @@
 void API dw_pixmap_destroy(HPIXMAP pixmap);
 void API dw_beep(int freq, int dur);
 void API dw_debug(const char *format, ...);
+void API dw_vdebug(const char *format, va_list args);
 int API dw_messagebox(const char *title, int flags, const char *format, ...);
+int API dw_vmessagebox(const char *title, int flags, const char *format, va_list args);
 void API dw_environment_query(DWEnv *env);
 int API dw_exec(const char *program, int type, char **params);
 int API dw_browse(const char *url);