Share

acad_malloc

C++

ACDBCORE2D_PORT void * acad_malloc(
    size_t size
);

File

acmem.h

Description

Allocates a region of memory large enough to hold an object whose size is returned by acad_msize().

Allocates at least size bytes of memory and returns a pointer to it. If memory cannot be allocated, a null pointer is returned.

Parameters

Parameters Description
size Input number of bytes to allocate

Was this information helpful?