third_party/inchi/INCHI_BASE/src/ichicano.c
void InchiTimeAddMsec( INCHI_CLOCK *ic, inchiTime *TickEnd, unsigned long nNumMsec )
{
    long delta;
    if (!TickEnd)
    {
        return;
    }
    TickEnd->clockTime += nNumMsec / 1000;
    delta = nNumMsec % 1000 + TickEnd->millitime;
    TickEnd->clockTime += delta / 1000;
    TickEnd->millitime = delta % 1000;
}
/******************* 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 )
{
    long delta;
    if (!TickEnd)
    {
        return;
    }
    TickEnd->clockTime += nNumMsec / 1000;
    delta = nNumMsec % 1000 + TickEnd->millitime;
    TickEnd->clockTime += delta / 1000;
    TickEnd->millitime = delta % 1000;
}
void InchiTimeAddMsec ( INCHI_CLOCK * ic , inchiTime * TickEnd , unsigned long nNumMsec ) { long delta ; if ( ! TickEnd ) { return ; } TickEnd -> clockTime += nNumMsec / 1000 ; delta = nNumMsec % 1000 + TickEnd -> millitime ; TickEnd -> clockTime += delta / 1000 ; TickEnd -> millitime = delta % 1000 ; }
add number of milliseconds to time
add number of milliseconds to time