ladybird/AK/Assertions.h

21 lines
281 B
C
Raw Normal View History

#pragma once
#ifdef KERNEL
2019-04-03 13:51:10 +03:00
#include <Kernel/Assertions.h>
#else
#include <assert.h>
#ifndef __serenity__
#define ASSERT assert
#define ASSERT_NOT_REACHED assert(false)
#endif
#endif
namespace AK {
inline void not_implemented() { ASSERT(false); }
}
using AK::not_implemented;