ns-allinone-2.35/ns-2.35/indep-utils/webtrace-conv/ucb/utils.cc
AVL_tree Allocate_AVL_tree(void)
{
    AVL_tree  temp_pointer;

    temp_pointer = (AVL_tree) malloc(sizeof(AVL_tree_element));
    if (temp_pointer == NULL) {
      fprintf(stderr, "Out of memory in Allocate_AVL_tree!\n");
      exit(-1);
    }
    return temp_pointer;
}
/****** 
  Local functions - heap maintenance code
******/
Local functions - heap maintenance code
Local functions - heap maintenance code
AVL_tree Allocate_AVL_tree(void)
{
    AVL_tree  temp_pointer;
    temp_pointer = (AVL_tree) malloc(sizeof(AVL_tree_element));
    if (temp_pointer == NULL) {
      fprintf(stderr, "Out of memory in Allocate_AVL_tree!\n");
      exit(-1);
    }
    return temp_pointer;
}
AVL_tree Allocate_AVL_tree ( void ) { AVL_tree temp_pointer ; temp_pointer = ( AVL_tree ) malloc ( sizeof ( AVL_tree_element ) ) ; if ( temp_pointer == NULL ) { fprintf ( stderr , " \n " ) ; exit ( -1 ) ; } return temp_pointer ; }
Local functions - heap maintenance code
Local functions - heap maintenance code