Searched refs:STBRP_ASSERT (Results 1 – 2 of 2) sorted by relevance
209 #ifndef STBRP_ASSERT211 #define STBRP_ASSERT assert macro232 …STBRP_ASSERT(heuristic == STBRP_HEURISTIC_Skyline_BL_sortHeight || heuristic == STBRP_HEURISTIC_Sk… in stbrp_setup_heuristic()236 STBRP_ASSERT(0); in stbrp_setup_heuristic()264 STBRP_ASSERT(width <= 0xffff && height <= 0xffff); in stbrp_init_target()301 STBRP_ASSERT(first->x <= x0); in stbrp__skyline_find_min_y()308 STBRP_ASSERT(node->next->x > x0); // we ended up handling this in the caller for efficiency in stbrp__skyline_find_min_y()311 STBRP_ASSERT(node->x <= x0); in stbrp__skyline_find_min_y()358 STBRP_ASSERT(width % c->align == 0); in stbrp__skyline_find_best_pos()415 STBRP_ASSERT(xpos >= 0); in stbrp__skyline_find_best_pos()[all …]
119 #define STBRP_ASSERT(x) IM_ASSERT(x) macro