meson/c23 for no real reason

This commit is contained in:
2026-06-30 18:18:14 +02:00
parent ea05923bc7
commit 782b57cbb5
6 changed files with 69 additions and 82 deletions

View File

@@ -23,10 +23,10 @@ typedef enum {
} log_level_t;
/* __PRETTY_FUNCTION__ is a GCC/Clang extension that gives the full
s ignature: "voi*d foo(int x)" — same thing source_location gave you.
signature: "voi*d foo(int x)" — same thing source_location gave you.
Falls back to plain __func__ (C99) if somehow unavailable. */
#define applog(level, fmt, ...) \
log_write(level, __PRETTY_FUNCTION__, fmt, ##__VA_ARGS__)
log_write(level, __func__, fmt, ##__VA_ARGS__)
/* format attribute gives compile-time printf format checking —
better than wha*t std::format gave you at runtime */