Differences From Artifact [7f5d9116f6]:
- File
src/macros.h
— part of check-in
[44f45c2e35]
at
2017-01-09 17:36:36
on branch trunk
— Update copyright
Forgot to add 2017, even though I already did quite some changes in
2017. (user: js, size: 14992) [annotate] [blame] [check-ins using]
To Artifact [db7b5a88fe]:
- File src/macros.h — part of check-in [1ff91c7491] at 2017-03-20 22:50:26 on branch trunk — of_explicit_memset(): Add explicit cast for C++ (user: js, size: 15017) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
591 592 593 594 595 596 597 | return copy; } static OF_INLINE void of_explicit_memset(void *buffer_, int character, size_t length) { | | | 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 | return copy; } static OF_INLINE void of_explicit_memset(void *buffer_, int character, size_t length) { volatile unsigned char *buffer = (volatile unsigned char*)buffer_; while (buffer < (unsigned char*)buffer_ + length) *buffer++ = character; } static OF_INLINE bool of_ascii_isalpha(char c) |
︙ | ︙ |