mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-05 22:52:36 +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
|