MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / unlinkNamespaces

Function unlinkNamespaces

Engine/source/console/console.cpp:1712–1727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1710}
1711
1712bool 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
1729bool classLinkNamespaces(Namespace *parent, Namespace *child)
1730{

Callers 6

assignNameMethod · 0.85
onRemoveMethod · 0.85
setClassNamespaceMethod · 0.85
onRemoveMethod · 0.85
onRemoveMethod · 0.85

Calls 3

lookupNamespaceFunction · 0.85
warnfFunction · 0.85
unlinkClassMethod · 0.80

Tested by

no test coverage detected