| 437 | } |
| 438 | |
| 439 | static inline void ComputeUltimateAttachParent(object *child) { |
| 440 | object *cur_obj = child; |
| 441 | |
| 442 | do { |
| 443 | child->attach_ultimate_handle = cur_obj->attach_parent_handle; |
| 444 | cur_obj = ObjGet(child->attach_ultimate_handle); |
| 445 | ASSERT(cur_obj); |
| 446 | |
| 447 | } while (cur_obj->flags & OF_ATTACHED); |
| 448 | } |
| 449 | |
| 450 | static void ProprogateUltimateAttachParent(object *parent, int ultimate_handle) { |
| 451 | int i; |
no test coverage detected