mirror of
https://github.com/limine-bootloader/limine
synced 2024-11-28 19:33:09 +03:00
17 lines
292 B
C
17 lines
292 B
C
#ifndef __LIB__PRINT_H__
|
|
#define __LIB__PRINT_H__
|
|
|
|
#include <stdarg.h>
|
|
#include <stdbool.h>
|
|
|
|
extern bool verbose;
|
|
|
|
void print(const char *fmt, ...);
|
|
void vprint(const char *fmt, va_list args);
|
|
|
|
#define printv(FMT, ...) do { \
|
|
if (verbose) print(FMT, ##__VA_ARGS__); \
|
|
} while (0)
|
|
|
|
#endif
|