| 1796 | } |
| 1797 | |
| 1798 | bool unlinkNamespaces(const char *parent, const char *child) |
| 1799 | { |
| 1800 | Namespace *pns = lookupNamespace(parent); |
| 1801 | Namespace *cns = lookupNamespace(child); |
| 1802 | |
| 1803 | if(pns == cns) |
| 1804 | { |
| 1805 | Con::warnf("Con::unlinkNamespaces - trying to unlink '%s' from itself, aborting.", parent); |
| 1806 | return false; |
| 1807 | } |
| 1808 | |
| 1809 | if(pns && cns) |
| 1810 | return cns->unlinkClass(pns); |
| 1811 | |
| 1812 | return false; |
| 1813 | } |
| 1814 | |
| 1815 | bool classLinkNamespaces(Namespace *parent, Namespace *child) |
| 1816 | { |
no test coverage detected