Changeset 5894 for trunk/ALIV3

Show
Ignore:
Timestamp:
07/05/09 19:24:04 (3 years ago)
Author:
westram
Message:
  • reactivated original GB_close
  • removed GB_exit (use GB_close)
  • gb_delete_entry now takes and invalidates a GBDATA** (to avoid further undetected usage)
  • gb_do_callback_list called with GB_MAIN_TYPE (instead of possibly already deleted gb_main)
  • added some missing transactions
  • moved declaration of GBDATA into arbdb_base.h (and include where needed)
  • GB_MAIN_TYPE is no longer void
  • AW_default is no longer void
  • replaced the 3 differing ways to exit EDIT4 by ED4_exit()
  • added AW_root::unlink_awars_from_DB() and call in arb_ntree, arb_dist, arb_edit4, arb_pars and arb_phylo
  • rewrote arb_2_ascii, arb_2_bin, arb_perf_test, arb_read_tree (single exit point, error handling)
  • unlinked AWARs now return "" not "?????"
  • AW_awar::read_string works only with awars of type AW_STRING. Added assertion + fixed one wrong usage.
  • inlined AW_awar::get()
  • added AW_awar::remove_all_callbacks() and AW_awar::remove_all_target_vars()
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ALIV3/a3_arbdb.cxx

    r5725 r5894  
    1515// ----------------------------------------------------------------------------- 
    1616{ 
    17     if (gb_main)    GB_exit(gb_main); 
     17    if (gb_main)    GB_close(gb_main); 
    1818    if (alignment)  free ((char *) alignment); 
    1919} 
     
    4343 
    4444// ----------------------------------------------------------------------------- 
    45     void A3Arbdb::close ( void ) 
     45void A3Arbdb::close ( void ) 
    4646// ----------------------------------------------------------------------------- 
    4747{ 
    48    GB_exit(gb_main); 
    49    freeset(alignment, 0); 
     48    GB_close(gb_main); 
     49    freeset(alignment, 0); 
    5050} 
    5151