Changeset 2e9b59b for libcfa/src/containers/array.hfa
- Timestamp:
- Apr 19, 2022, 3:00:04 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- 5b84a321
- Parents:
- ba897d21 (diff), bb7c77d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/containers/array.hfa
rba897d21 r2e9b59b 1 #include <assert.h> 1 2 2 3 … … 34 35 35 36 static inline Timmed & ?[?]( arpk(N, S, Timmed, Tbase) & a, int i ) { 37 assert( i < N ); 36 38 return (Timmed &) a.strides[i]; 37 39 } 38 40 39 41 static inline Timmed & ?[?]( arpk(N, S, Timmed, Tbase) & a, unsigned int i ) { 42 assert( i < N ); 40 43 return (Timmed &) a.strides[i]; 41 44 } 42 45 43 46 static inline Timmed & ?[?]( arpk(N, S, Timmed, Tbase) & a, long int i ) { 47 assert( i < N ); 44 48 return (Timmed &) a.strides[i]; 45 49 } 46 50 47 51 static inline Timmed & ?[?]( arpk(N, S, Timmed, Tbase) & a, unsigned long int i ) { 52 assert( i < N ); 48 53 return (Timmed &) a.strides[i]; 49 54 }
Note:
See TracChangeset
for help on using the changeset viewer.