| 1648 | } |
| 1649 | |
| 1650 | void* |
| 1651 | rprealloc(void* ptr, size_t size) { |
| 1652 | #if ENABLE_VALIDATE_ARGS |
| 1653 | if (size >= MAX_ALLOC_SIZE) { |
| 1654 | errno = EINVAL; |
| 1655 | return ptr; |
| 1656 | } |
| 1657 | #endif |
| 1658 | return _memory_reallocate(ptr, size, 0, 0); |
| 1659 | } |
| 1660 | |
| 1661 | void* |
| 1662 | rpaligned_realloc(void* ptr, size_t alignment, size_t size, size_t oldsize, |
no test coverage detected