Differences From Artifact [54a3501810]:
- File src/macros.h — part of check-in [13f4c6c678] at 2016-09-12 00:27:14 on branch trunk — Add OF_DEALLOC_UNSUPPORTED macro (user: js, size: 14537) [annotate] [blame] [check-ins using]
To Artifact [63bde433c3]:
- File src/macros.h — part of check-in [dcff33c798] at 2016-10-08 15:57:37 on branch trunk — Implement scrypt (user: js, size: 14748) [annotate] [blame] [check-ins using]
︙ | |||
596 597 598 599 600 601 602 | 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 | + + + + + + + + + | if ((copy = (char*)malloc(length + 1)) == NULL) return NULL; memcpy(copy, string, length + 1); return copy; } static OF_INLINE void of_explicit_memset(void *buffer_, int character, size_t length) { volatile unsigned char *buffer = buffer_; while (buffer < (unsigned char*)buffer_ + length) *buffer++ = character; } |