third_party/inchi/INCHI_BASE/src/ichitaut.c
int CompRankTautomer( const void* a1, const void* a2, void *p )
{
    AT_RANK *pn_tRankForSort = (AT_RANK *) p;
    int ret = (int) pn_tRankForSort[(int) ( *(const AT_RANK*) a1 )] -
        (int) pn_tRankForSort[(int) ( *(const AT_RANK*) a2 )];

    return ret;
}
/****************************************************************************
Tautomers: Compare for sorting

Compare for sorting Ranks only
Globals: pn_tRankForSort
****************************************************************************/
Compare for sorting
Compare for sorting Ranks only
Globals: pn_tRankForSort
Compare for sorting Compare for sorting Ranks only Globals : pn_tRankForSort
int CompRankTautomer( const void* a1, const void* a2, void *p )
{
    AT_RANK *pn_tRankForSort = (AT_RANK *) p;
    int ret = (int) pn_tRankForSort[(int) ( *(const AT_RANK*) a1 )] -
        (int) pn_tRankForSort[(int) ( *(const AT_RANK*) a2 )];
    return ret;
}
int CompRankTautomer ( const void * a1 , const void * a2 , void * p ) { AT_RANK * pn_tRankForSort = ( AT_RANK * ) p ; int ret = ( int ) pn_tRankForSort [ ( int ) ( * ( const AT_RANK * ) a1 ) ] - ( int ) pn_tRankForSort [ ( int ) ( * ( const AT_RANK * ) a2 ) ] ; return ret ; }
Tautomers: Compare for sorting
Compare for sorting Ranks only
Globals: pn_tRankForSort
Tautomers : Compare for sorting Compare for sorting Ranks only Globals : pn_tRankForSort