mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-07 08:29:58 +00:00
21 lines
352 B
C++
21 lines
352 B
C++
#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;
|