mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:54:58 +00:00
18 lines
312 B
C
18 lines
312 B
C
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
extern "C" {
|
|
int dbgprintf(const char* fmt, ...);
|
|
int dbgputstr(const char*, int);
|
|
int kprintf(const char* fmt, ...);
|
|
int ksprintf(char* buf, const char* fmt, ...);
|
|
}
|
|
|
|
#ifndef USERLAND
|
|
# define printf dbgprintf
|
|
#endif
|
|
|
|
#ifndef __serenity__
|
|
#define dbgprintf printf
|
|
#endif
|