| 344 | static inline bool ImIsPowerOfTwo(int v) { return v != 0 && (v & (v - 1)) == 0; } |
| 345 | static inline bool ImIsPowerOfTwo(ImU64 v) { return v != 0 && (v & (v - 1)) == 0; } |
| 346 | 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; } |
| 347 | |
| 348 | // Helpers: String |
| 349 | IMGUI_API int ImStricmp(const char* str1, const char* str2); |
no outgoing calls
no test coverage detected