mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-13 18:17:17 +03:00
15 lines
273 B
C
15 lines
273 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, ...) ({ if (verbose) print(FMT, ##__VA_ARGS__); })
|
|
|
|
#endif
|