Ignore:
Timestamp:
Mar 22, 2011, 3:19:54 PM (11 years ago)
Author:
jordan
Message:

(trunk) #4138 "use stdbool.h instead of tr_bool" -- done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/completion.h

    r12012 r12204  
    2626typedef struct tr_completion
    2727{
    28     tr_bool  sizeWhenDoneIsDirty;
    29     tr_bool  blocksWantedIsDirty;
    30     tr_bool  haveValidIsDirty;
     28    bool  sizeWhenDoneIsDirty;
     29    bool  blocksWantedIsDirty;
     30    bool  haveValidIsDirty;
    3131
    3232    tr_torrent *    tor;
     
    128128int tr_cpMissingBlocksInPiece( const tr_completion * cp, tr_piece_index_t i );
    129129
    130 static inline tr_bool
     130static inline bool
    131131tr_cpPieceIsComplete( const tr_completion * cp, tr_piece_index_t i )
    132132{
     
    134134}
    135135
    136 void   tr_cpPieceAdd( tr_completion * cp, tr_piece_index_t i );
     136void tr_cpPieceAdd( tr_completion * cp, tr_piece_index_t i );
    137137
    138 void   tr_cpPieceRem( tr_completion * cp, tr_piece_index_t i );
     138void tr_cpPieceRem( tr_completion * cp, tr_piece_index_t i );
    139139
    140 tr_bool tr_cpFileIsComplete( const tr_completion * cp, tr_file_index_t );
     140bool tr_cpFileIsComplete( const tr_completion * cp, tr_file_index_t );
    141141
    142142/**
     
    144144**/
    145145
    146 static inline tr_bool
     146static inline bool
    147147tr_cpBlockIsComplete( const tr_completion * cp, tr_block_index_t i )
    148148{
     
    152152void tr_cpBlockAdd( tr_completion * cp, tr_block_index_t i );
    153153
    154 tr_bool tr_cpBlockBitsetInit( tr_completion * cp, const tr_bitset * blocks );
     154bool tr_cpBlockBitsetInit( tr_completion * cp, const tr_bitset * blocks );
    155155
    156156/***
Note: See TracChangeset for help on using the changeset viewer.