FLINT3.7.0-dev

flint_malloc

Synopsis#include <flint/flint.h>
void * flint_malloc(size_t size)source

Allocates size bytes and returns a pointer to them. Throws on failure. With the system malloc a request of 0 bytes may also count as a failure on platforms where malloc(0) returns NULL.

Guides#

Cite this page

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