Ejemplo n.º 1
0
InputTree*
tree_parent_tree(TreeHist* treeh)
{
    InputTree* tree = treeh->tree;
    InputTree* pt = tree->parent();
    if(!pt) return NULL;
    if(pt->headTree() == tree->headTree()) return NULL;
    return pt;
}