Kintsugi OS 0.2.0
x86 Monolithic OS
Loading...
Searching...
No Matches
assert.h
Go to the documentation of this file.
1#ifndef KKLIBC_ASSERT_H
2#define KKLIBC_ASSERT_H
3
4#include "stdio.h"
5
6void __assert(char* expr, char* waited_expr) {
7 if (expr == waited_expr) {
8 printf("%s == %s\n", expr, waited_expr);
9 } else {
10 printf("%s != %s\n", expr, waited_expr);
11 }
12}
13
14#endif
void __assert(char *expr, char *waited_expr)
Definition assert.h:6
void printf(char *fmt,...)
Стандартный форматированный вывод
Definition stdio.c:67