third_party/inchi/INCHI_BASE/src/ichicano.c
void InchiTimeAddMsec( INCHI_CLOCK *ic, inchiTime *TickEnd, unsigned long nNumMsec )
{
    clock_t delta;
    if (!TickEnd)
        return;
    if (FullMaxClock > 0)
    {
        /* clock_t is unsigned */
        delta = INCHI_CLOCK_T( nNumMsec );
        TickEnd->clockTime += delta;
    }
    else
    {
        /* may happen under Win32 only where clock_t is SIGNED long */
        /* clock_t is unsigned */
        FillMaxMinClock( ic );
        delta = INCHI_CLOCK_T( nNumMsec );
        TickEnd->clockTime += delta;
    }
}
/******************* add number of milliseconds to time *********************/
add number of milliseconds to time
add number of milliseconds to time
void InchiTimeAddMsec( INCHI_CLOCK *ic, inchiTime *TickEnd, unsigned long nNumMsec )
{
    clock_t delta;
    if (!TickEnd)
        return;
    if (FullMaxClock > 0)
    {
        delta = INCHI_CLOCK_T( nNumMsec );
        TickEnd->clockTime += delta;
    }
    else
    {
        FillMaxMinClock( ic );
        delta = INCHI_CLOCK_T( nNumMsec );
        TickEnd->clockTime += delta;
    }
}
void InchiTimeAddMsec ( INCHI_CLOCK * ic , inchiTime * TickEnd , unsigned long nNumMsec ) { clock_t delta ; if ( ! TickEnd ) return ; if ( FullMaxClock > 0 ) { delta = INCHI_CLOCK_T ( nNumMsec ) ; TickEnd -> clockTime += delta ; } else { FillMaxMinClock ( ic ) ; delta = INCHI_CLOCK_T ( nNumMsec ) ; TickEnd -> clockTime += delta ; } }
add number of milliseconds to time
add number of milliseconds to time
/* clock_t is unsigned */ /* may happen under Win32 only where clock_t is SIGNED long */ /* clock_t is unsigned */