Changeset 5a7d9d1 in mainline for generic/include/macros.h
- Timestamp:
- 2006-03-17T10:07:28Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4e49572
- Parents:
- 226a654
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/macros.h
r226a654 r5a7d9d1 40 40 #define max(a,b) ((a)>(b)?(a):(b)) 41 41 42 /* Return true if the interlvals overlap*/43 static inline int overlaps(__address s1, size_t sz1, __address s2, size_t sz2)42 /** Return true if the interlvals overlap. */ 43 static inline int overlaps(__address s1, size_t sz1, __address s2, size_t sz2) 44 44 { 45 45 __address e1 = s1+sz1;
Note:
See TracChangeset
for help on using the changeset viewer.