Move is_power_of_two to misc_utils

This commit is contained in:
abdelrahman committed 2026-01-02 19:19:25 +00:00
1 parent 91138f9239
commit ebf16c6ba3
2 files changed
+4 -3

No files matched your search

+2
View File
@@ -47,6 +47,8 @@ BEGIN_C_LINKAGE
) + 1 \
)
#define wapp_is_power_of_two(NUM) ((NUM & (NUM - 1)) == 0)
#ifdef WAPP_PLATFORM_CPP
END_C_LINKAGE