| 1710 | } |
| 1711 | |
| 1712 | bool unlinkNamespaces(const char *parent, const char *child) |
| 1713 | { |
| 1714 | Namespace *pns = lookupNamespace(parent); |
| 1715 | Namespace *cns = lookupNamespace(child); |
| 1716 | |
| 1717 | if(pns == cns) |
| 1718 | { |
| 1719 | Con::warnf("Con::unlinkNamespaces - trying to unlink '%s' from itself, aborting.", parent); |
| 1720 | return false; |
| 1721 | } |
| 1722 | |
| 1723 | if(pns && cns) |
| 1724 | return cns->unlinkClass(pns); |
| 1725 | |
| 1726 | return false; |
| 1727 | } |
| 1728 | |
| 1729 | bool classLinkNamespaces(Namespace *parent, Namespace *child) |
| 1730 | { |
no test coverage detected