Overview
Comment: | Add of_range(). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a9c38eb13771f0ecd0400def83a99ff4 |
User & Date: | js on 2011-06-13 23:53:47 |
Other Links: | manifest | tags |
Context
2011-06-14
| ||
19:34 | Add -[crossProductWithVector:] to OFFloatVector. check-in: aadec90b2f user: js tags: trunk | |
2011-06-13
| ||
23:53 | Add of_range(). check-in: a9c38eb137 user: js tags: trunk | |
23:52 | Add of_{point,dimension,rectangle}(). check-in: 6f357e67bd user: js tags: trunk | |
Changes
Modified src/macros.h from [8e57c109c4] to [5405f50b68].
︙ | ︙ | |||
313 314 315 316 317 318 319 320 321 322 323 324 325 326 | OF_HASH_ADD(hash, (int64Copy >> 40) & 0xFF); \ OF_HASH_ADD(hash, (int64Copy >> 32) & 0xFF); \ OF_HASH_ADD(hash, (int64Copy >> 24) & 0xFF); \ OF_HASH_ADD(hash, (int64Copy >> 16) & 0xFF); \ OF_HASH_ADD(hash, (int64Copy >> 8) & 0xFF); \ OF_HASH_ADD(hash, int64Copy & 0xFF); \ } static OF_INLINE of_point_t of_point(int x, int y) { of_point_t point = { x, y }; return point; | > > > > > > > > | 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 | OF_HASH_ADD(hash, (int64Copy >> 40) & 0xFF); \ OF_HASH_ADD(hash, (int64Copy >> 32) & 0xFF); \ OF_HASH_ADD(hash, (int64Copy >> 24) & 0xFF); \ OF_HASH_ADD(hash, (int64Copy >> 16) & 0xFF); \ OF_HASH_ADD(hash, (int64Copy >> 8) & 0xFF); \ OF_HASH_ADD(hash, int64Copy & 0xFF); \ } static OF_INLINE of_range_t of_range(size_t start, size_t length) { of_range_t range = { start, length }; return range; } static OF_INLINE of_point_t of_point(int x, int y) { of_point_t point = { x, y }; return point; |
︙ | ︙ |