Ignore:
Timestamp:
Mar 14, 2011, 2:09:41 PM (10 years ago)
Author:
jordan
Message:

(trunk libT) make tr_ptrArrayNth() an inline function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/ptrarray.c

    r11709 r12161  
    5656    *size = t->n_items;
    5757    return t->items;
    58 }
    59 
    60 void*
    61 tr_ptrArrayNth( tr_ptrArray* t,
    62                 int          i )
    63 {
    64     assert( t );
    65     assert( i >= 0 );
    66     assert( i < t->n_items );
    67 
    68     return t->items[i];
    6958}
    7059
Note: See TracChangeset for help on using the changeset viewer.