Ignore:
Timestamp:
Jan 4, 2009, 4:59:15 PM (12 years ago)
Author:
charles
Message:

(trunk libT) minor tr_ptrArray API cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/ptrarray.h

    r7582 r7614  
    4343tr_ptrArray;
    4444
    45 #define TR_PTR_ARRAY_DATA( A ) ((A)->items)
    46 #define TR_PTR_ARRAY_LENGTH( A ) ((A)->n_items)
    47 
    4845typedef void ( *PtrArrayForeachFunc )( void * );
    4946
     
    8784                                int            end );
    8885
     86static inline void** tr_ptrArrayBase( const tr_ptrArray * a )
     87{
     88    return a->items;
     89}
     90
    8991static inline int tr_ptrArraySize( const tr_ptrArray *  a )
    9092{
Note: See TracChangeset for help on using the changeset viewer.