Function Macro

VipsARRAY

Declaration [src]

#define VIPS_ARRAY (
  OBJ,
  N,
  T
)

Description [src]

Allocate memory for an array of objects of type T. The memory is not cleared.

This macro cannot fail. See vips_tracked_malloc() if you are allocating large amounts of memory.

::: seealso vips_malloc().

Parameters

OBJ none
 

Allocate memory local to OBJ, or NULL for no auto-free.

N none
 

Number of T s to allocate.

T none
 

Type of thing to allocate.