flint_realloc
Synopsis
#include <flint/flint.h>void * flint_realloc(void * ptr, size_t size)sourceResizes the block ptr, previously returned by flint_malloc, flint_calloc or flint_realloc, to size bytes and returns the (possibly moved) block. If ptr is NULL, this is flint_malloc(size). Throws on failure.
Guides#
- Implementing a ring (
gr)
Cite this page
The FLINT team, “flint_realloc (flint.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/flint/flint_realloc.html (generated 2026-10-20).
@misc{flint-doc-flint-flint-realloc,
author = {{The FLINT team}},
title = {{flint\_realloc (flint.h)}},
howpublished = {FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev},
year = {2026},
url = {https://flintlib.org/doc/flint/flint_realloc.html},
note = {Generated 2026-10-20}
}