mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:44:58 +00:00
AK: Make it possible to not using
AK classes into the global namespace
This patch adds the `USING_AK_GLOBALLY` macro which is enabled by default, but can be overridden by build flags. This is a step towards integrating Jakt and AK types.
This commit is contained in:
parent
e50a43652e
commit
ae3ffdd521
124 changed files with 276 additions and 12 deletions
|
@ -178,6 +178,7 @@ __DEFINE_GENERIC_ABS(long double, 0.0L, fabsl);
|
|||
|
||||
}
|
||||
|
||||
#if USING_AK_GLOBALLY
|
||||
using AK::array_size;
|
||||
using AK::ceil_div;
|
||||
using AK::clamp;
|
||||
|
@ -189,3 +190,4 @@ using AK::mix;
|
|||
using AK::RawPtr;
|
||||
using AK::swap;
|
||||
using AK::to_underlying;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue