MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / rprealloc

Function rprealloc

vm/ByteCodeTranslator/src/rpmalloc.c:1650–1659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1648}
1649
1650void*
1651rprealloc(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
1661void*
1662rpaligned_realloc(void* ptr, size_t alignment, size_t size, size_t oldsize,

Callers 1

reallocFunction · 0.85

Calls 1

_memory_reallocateFunction · 0.85

Tested by

no test coverage detected