ARRAY.h File Reference

Defines

#define _COMPILER_VERSION
#define ARRAY(_t, _n, _m)

Detailed Description

Defines a portable replacement for run-time sized local arrays and for alloca().


Define Documentation

#define ARRAY (   _t,
  _n,
  _m 
)

Makes a run-time sized array for local storage.

In gcc and other compilers that support it, this turns into "type name[n]".

In other systems this turns into calls to alloca().

In others still (Windows) it turns into C++ templates that rely on the destructor to get the same result, though much less efficiently.

Referenced by DD::Image::DrawIop::pixel_engine().