Show
Ignore:
Timestamp:
08/09/10 11:41:12 (21 months ago)
Author:
westram
Message:
  • header for global general purpose defines/inlines
  • use ARRAY_ELEMS where applicable
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/refactor/SL/FAST_ALIGNER/fast_aligner.cxx

    r6722 r6806  
    1818 
    1919#include <awtc_next_neighbours.hxx> 
    20  
    2120#include <awt_sel_boxes.hxx> 
    2221 
     
    2524 
    2625#include <arbdbt.h> 
     26 
     27#include <arb_defs.h> 
    2728 
    2829#include <cctype> 
     
    29692970} 
    29702971 
    2971 #define TEST_SPECIES_COUNT(test_ali_data) (sizeof(test_ali_data)/sizeof(*test_ali_data)) 
    2972 #define TEST_CREATE_DB(error, test_ali_data) test_create_DB(error, test_ali_data, TEST_SPECIES_COUNT(test_ali_data)) 
     2972#define TEST_SPECIES_COUNT(test_ali_data)   ARRAY_ELEMS(test_ali_data) 
     2973#define TEST_CREATE_DB(error,test_ali_data) test_create_DB(error, test_ali_data, TEST_SPECIES_COUNT(test_ali_data)) 
    29732974 
    29742975static const char *get_aligned_data_of(GBDATA *gb_main, const char *species_name) {