2025-12-11 19:00:45 +09:00
|
|
|
#ifndef HAKMEM_TINY_ULTRA_CLASSES_BOX_H
|
|
|
|
|
#define HAKMEM_TINY_ULTRA_CLASSES_BOX_H
|
|
|
|
|
|
2025-12-11 19:26:51 +09:00
|
|
|
// Purpose: Named constants for ULTRA tier classes (C5, C6, C7)
|
|
|
|
|
#define TINY_CLASS_C5 5
|
2025-12-11 19:00:45 +09:00
|
|
|
#define TINY_CLASS_C6 6
|
|
|
|
|
#define TINY_CLASS_C7 7
|
|
|
|
|
|
|
|
|
|
// Helper macros for class checking
|
2025-12-11 19:26:51 +09:00
|
|
|
#define tiny_class_is_c5(idx) ((idx) == TINY_CLASS_C5)
|
2025-12-11 19:00:45 +09:00
|
|
|
#define tiny_class_is_c6(idx) ((idx) == TINY_CLASS_C6)
|
|
|
|
|
#define tiny_class_is_c7(idx) ((idx) == TINY_CLASS_C7)
|
2025-12-11 19:26:51 +09:00
|
|
|
#define tiny_class_is_ultra(idx) (tiny_class_is_c5(idx) || tiny_class_is_c6(idx) || tiny_class_is_c7(idx))
|
2025-12-11 19:00:45 +09:00
|
|
|
|
|
|
|
|
#endif // HAKMEM_TINY_ULTRA_CLASSES_BOX_H
|