mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-21 23:20:20 +00:00
18 lines
258 B
C++
18 lines
258 B
C++
#pragma once
|
|
|
|
#ifdef SERENITY_KERNEL
|
|
#include "kassert.h"
|
|
#else
|
|
#include <assert.h>
|
|
#define ASSERT(x) assert(x)
|
|
#define ASSERT_NOT_REACHED() assert(false)
|
|
#endif
|
|
|
|
namespace AK {
|
|
|
|
inline void notImplemented() { ASSERT(false); }
|
|
|
|
}
|
|
|
|
using AK::notImplemented;
|
|
|