1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:58:11 +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:
Andreas Kling 2022-11-26 12:18:30 +01:00
parent e50a43652e
commit ae3ffdd521
124 changed files with 276 additions and 12 deletions

View file

@ -172,6 +172,7 @@ constexpr u32 to_ascii_base36_digit(u32 digit)
}
#if USING_AK_GLOBALLY
using AK::is_ascii;
using AK::is_ascii_alpha;
using AK::is_ascii_alphanumeric;
@ -199,3 +200,4 @@ using AK::parse_ascii_hex_digit;
using AK::to_ascii_base36_digit;
using AK::to_ascii_lowercase;
using AK::to_ascii_uppercase;
#endif