| 328 | static inline bool ImIsPowerOfTwo(int v) { return v != 0 && (v & (v - 1)) == 0; } |
| 329 | static inline bool ImIsPowerOfTwo(ImU64 v) { return v != 0 && (v & (v - 1)) == 0; } |
| 330 | static inline int ImUpperPowerOfTwo(int v) { v--; v |= v >> 1; v |= v >> 2; v |= v >> 4; v |= v >> 8; v |= v >> 16; v++; return v; } |
| 331 | |
| 332 | // Helpers: String |
| 333 | IMGUI_API int ImStricmp(const char* str1, const char* str2); |
no outgoing calls
no test coverage detected