comparison libgui/graphics/Logger.cc @ 30899:48ef5fabe9b7

maint: Use "fcn" as preferred abbreviation for "function" in libgui/. * Logger.cc, qopengl-functions.h: Replace "func", "fun" in variable names with "fcn".
author Rik <rik@octave.org>
date Tue, 05 Apr 2022 13:33:39 -0700
parents 796f54d4ddbf
children c6d54dd31a7e
comparison
equal deleted inserted replaced
30898:51a3d3a69193 30899:48ef5fabe9b7
63 } 63 }
64 64
65 return s_instance; 65 return s_instance;
66 } 66 }
67 67
68 #define STATIC_LOGGER(fun) \ 68 #define STATIC_LOGGER(fcn) \
69 void Logger::fun (const char *fmt, ...) \ 69 void Logger::fcn (const char *fmt, ...) \
70 { \ 70 { \
71 QMutexLocker lock (s_mutex); \ 71 QMutexLocker lock (s_mutex); \
72 va_list vl; \ 72 va_list vl; \
73 va_start (vl, fmt); \ 73 va_start (vl, fmt); \
74 instance ()->fun ## V (fmt, vl); \ 74 instance ()->fcn ## V (fmt, vl); \
75 va_end (vl); \ 75 va_end (vl); \
76 } 76 }
77 77
78 STATIC_LOGGER (debug) 78 STATIC_LOGGER (debug)
79 79