Narrow Version

Description

Narrow version indicates a function that has been widened in AVS/Express 7.0. Two versions of the function are available - a wide version that can handle very large datasets on 64-bit platforms, and a narrow version for backward compatibility. The narrow version is the default. The narrow version will have the same function parameters as it did in earlier versions of AVS/Express.

The distinction between wide and narrow is only significant on 64-bit platforms.

On 32-bit platforms the type "xp_long" is defined to be the same

as an "int" so there is no difference between the versions.

#undef XP_WIDE_API /* Just for illustration - its not defined by default */

#include <avs/om.h>

OMget_array_size (OMobj_id id, int *size);

The following code fragment shows how the narrow version would

be used in practice. This is same as in earlier versions of AVS/Express.

OMobj_id id;

int size;

int stat;

stat = OMget_array_size (id, &size); /* Valid for arrays with less than

2.3 billion elements. */