Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-7A6C0FF7-4616-4B3D-941C-1952FBFE6939
Visible to Intel only — GUID: GUID-7A6C0FF7-4616-4B3D-941C-1952FBFE6939
CFI_is_contiguous
C function prototype: Tests contiguity of an array.
int CFI_is_contiguous(const CFI_cdesc_t *dv);
Formal Parameters:
dv |
The address of a C descriptor describing an array. The base_addr member of the C descriptor must not be a null pointer. |
Result Value
The value of the result is 1 if the array described by dv is contiguous; otherwise, 0.
Since assumed-size and allocatable arrays are always contiguous, the result of CFI_is_contiguous on a C descriptor for such an array is 1.