Mercurial > octave
diff 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 |
line wrap: on
line diff
--- a/libgui/graphics/Logger.cc Tue Apr 05 13:20:48 2022 -0700 +++ b/libgui/graphics/Logger.cc Tue Apr 05 13:33:39 2022 -0700 @@ -65,13 +65,13 @@ return s_instance; } -#define STATIC_LOGGER(fun) \ - void Logger::fun (const char *fmt, ...) \ +#define STATIC_LOGGER(fcn) \ + void Logger::fcn (const char *fmt, ...) \ { \ QMutexLocker lock (s_mutex); \ va_list vl; \ va_start (vl, fmt); \ - instance ()->fun ## V (fmt, vl); \ + instance ()->fcn ## V (fmt, vl); \ va_end (vl); \ }