| 1713 | //----------------------------------------------------------------------------- |
| 1714 | |
| 1715 | SimObject::Notify* SimObject::removeNotify(void *ptr, SimObject::Notify::Type type) |
| 1716 | { |
| 1717 | Notify **list = &mNotifyList; |
| 1718 | while(*list) |
| 1719 | { |
| 1720 | if((*list)->ptr == ptr && (*list)->type == type) |
| 1721 | { |
| 1722 | SimObject::Notify *ret = *list; |
| 1723 | *list = ret->next; |
| 1724 | return ret; |
| 1725 | } |
| 1726 | list = &((*list)->next); |
| 1727 | } |
| 1728 | return NULL; |
| 1729 | } |
| 1730 | |
| 1731 | //----------------------------------------------------------------------------- |
| 1732 |
no outgoing calls
no test coverage detected