Overview
Comment: | Fix types for of_{dimension,rectangle,point}(). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
a82ee4d8c72087e97651b2a2897af849 |
User & Date: | js on 2012-08-19 21:27:46 |
Other Links: | manifest | tags |
Context
2012-08-19
| ||
23:26 | Get rid of OFAutoreleasePool in of_asprintf. check-in: 5f04d5b720 user: js tags: trunk | |
21:27 | Fix types for of_{dimension,rectangle,point}(). check-in: a82ee4d8c7 user: js tags: trunk | |
21:27 | Don't use main as variable name. check-in: 43e45e2364 user: js tags: trunk | |
Changes
Modified src/macros.h from [df40a393e9] to [427e7a37b9].
︙ | ︙ | |||
374 375 376 377 378 379 380 | { of_range_t range = { start, length }; return range; } static OF_INLINE of_point_t | | | | | 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 | { of_range_t range = { start, length }; return range; } static OF_INLINE of_point_t of_point(float x, float y) { of_point_t point = { x, y }; return point; } static OF_INLINE of_dimension_t of_dimension(float width, float height) { of_dimension_t dimension = { width, height }; return dimension; } static OF_INLINE of_rectangle_t of_rectangle(float x, float y, float width, float height) { of_rectangle_t rectangle = { of_point(x, y), of_dimension(width, height) }; return rectangle; } |