From 29c6d6c679d873988581e878f395399a6c4bb369 Mon Sep 17 00:00:00 2001 From: "ian.macarthur" Date: Wed, 23 Mar 2022 11:19:24 +0000 Subject: Remove vsscanf_l() call from Win32 driver (it appears to be a BSD-ism and unsupported by the MS tools) and rename several clocale specific methods from "name" to "vname" since they take a va_list not a variable list of arguments. --- src/Fl_System_Driver.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Fl_System_Driver.cxx') diff --git a/src/Fl_System_Driver.cxx b/src/Fl_System_Driver.cxx index 143585b72..42a8e18eb 100644 --- a/src/Fl_System_Driver.cxx +++ b/src/Fl_System_Driver.cxx @@ -401,15 +401,15 @@ unsigned Fl_System_Driver::utf8from_mb(char* dst, unsigned dstlen, const char* s return srclen; } -int Fl_System_Driver::clocale_printf(FILE *output, const char *format, va_list args) { +int Fl_System_Driver::clocale_vprintf(FILE *output, const char *format, va_list args) { return vfprintf(output, format, args); } -int Fl_System_Driver::clocale_snprintf(char *output, size_t output_size, const char *format, va_list args) { +int Fl_System_Driver::clocale_vsnprintf(char *output, size_t output_size, const char *format, va_list args) { return 0; // overridden in platform drivers } -int Fl_System_Driver::clocale_sscanf(const char *input, const char *format, va_list args) { +int Fl_System_Driver::clocale_vsscanf(const char *input, const char *format, va_list args) { return 0; // overridden in platform drivers } @@ -509,7 +509,7 @@ void Fl_System_Driver::gettime(time_t *sec, int *usec) { Platform drivers \b MUST override this virtual method to do their own stuff and call this base class method to run the platform independent wait functions. - + Overriden methods will typically call this method early and perform platform-specific operations after that in order to work with the \p time_to_wait value possibly modified by this method. -- cgit v1.2.3