1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 16:35:07 +00:00
serenity/AK/Assertions.h

19 lines
314 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)
# endif
#endif
namespace AK {
inline void not_implemented() { ASSERT(false); }
}
using AK::not_implemented;