blob: af055bf42dce09863fcb4cacb2bf496bb2f7052a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#ifdef KERNEL
# include <Kernel/Assertions.h>
#else
# include <assert.h>
# ifndef __serenity__
# define ASSERT assert
# define ASSERT_NOT_REACHED() assert(false)
# define RELEASE_ASSERT assert
# endif
#endif
namespace AK {
inline void not_implemented() { ASSERT(false); }
}
using AK::not_implemented;
|