Show
Ignore:
Timestamp:
09/09/10 20:23:50 (21 months ago)
Author:
westram
Message:
  • merged from refactor [6796] [6804] [6806] [6808]
    • added header for planned library ARB_CORE
    • renamed inline.h into arb_str.h
    • header for global general purpose defines/inlines (arb_defs.h)
      • use ARRAY_ELEMS where applicable
    • removed duplicate of ARB_strscmp (GBS_strscmp). No longer needed cause ARBDB is now C++
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ARBDB/adstring.cxx

    r6812 r6813  
    19531953} 
    19541954 
    1955 int GBS_strscmp(const char *s1, const char *s2) { 
    1956     int    cmp = 0; 
    1957     size_t idx = 0; 
    1958     while (!cmp) { 
    1959         if (!s1[idx] || !s2[idx]) break; 
    1960         cmp = s1[idx] - s2[idx]; 
    1961         ++idx; 
    1962     } 
    1963     return cmp; 
    1964 } 
    1965  
    19661955const char *GBS_readable_size(unsigned long long size) { 
    19671956    // return human readable size information