ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

static int compareSize ( const void arg1,
const void arg2 
) [static]

Definition at line 278 of file entries.cpp.

{
    const Entry* entry1 = *(const Entry**)arg1;
    const Entry* entry2 = *(const Entry**)arg2;

    int cmp = compareType(entry1, entry2);
    if (cmp)
        return cmp;

    cmp = entry2->_data.nFileSizeHigh - entry1->_data.nFileSizeHigh;

    if (cmp < 0)
        return -1;
    else if (cmp > 0)
        return 1;

    cmp = entry2->_data.nFileSizeLow - entry1->_data.nFileSizeLow;

    return cmp<0? -1: cmp>0? 1: 0;
}

Generated on Mon May 28 2012 04:46:31 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.