FLINT3.7.0-dev

FLINT_ARRAY_ALLOC, FLINT_ARRAY_REALLOC

Synopsis#include <flint/flint.h>
FLINT_ARRAY_ALLOC(n, T)source
FLINT_ARRAY_REALLOC(p, n, T)source

Allocate, or resize to, an array of n objects of type T with flint_malloc or flint_realloc, returning a T *.

Cite this page

The FLINT team, “FLINT_ARRAY_ALLOC, FLINT_ARRAY_REALLOC (flint.h),” FLINT: Fast Library for Number Theory, documentation, version 3.7.0-dev, 2026. https://flintlib.org/doc/flint/FLINT_ARRAY_ALLOC.html (generated 2026-10-20).