// SPDX-License-Identifier: MIT // Copyright (c) 2024 John Watts and the LuminaSensum contributors #define DEBUG_MSG 1 // Needed to get prototypes #include "debug.h" #include <stdarg.h> #include <stdio.h> void debug_msg(const char *restrict format, ...) { va_list args; va_start(args, format); vfprintf(stderr, format, args); va_end(args); }