Ignore:
Timestamp:
Jan 2, 2009, 4:47:37 AM (12 years ago)
Author:
charles
Message:

(trunk libT) make tr_isAddress() and tr_isDirection() inline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r7547 r7574  
    14161416
    14171417/** @brief Sanity checker to test that the direction is TR_UP or TR_DOWN */
    1418 tr_bool tr_isDirection( tr_direction );
     1418#define tr_isDirection(d) (((d)==TR_UP) || ((d)==TR_DOWN))
    14191419
    14201420/** @} */
Note: See TracChangeset for help on using the changeset viewer.