15 size_t i, elements,
size;
22 dim = &array->
dimTB[0];
23 for( i = 0; i < dimensions; i++ )
25 lbTB[i] = va_arg( ap, ssize_t );
26 ubTB[i] = va_arg( ap, ssize_t );
28 if( lbTB[i] > ubTB[i] )
31 dim->elements = (ubTB[i] - lbTB[i]) + 1;
32 dim->lbound = lbTB[i];
33 dim->ubound = ubTB[i];
40 size = elements * element_len;
44 array->
ptr = calloc( size, 1 );
46 array->
ptr = malloc( size );
57 const char *this_ = (
const char *)array->
ptr;
101 va_start( ap, dimensions );
102 res =
hRedim( array, element_len, doclear, isvarlen, dimensions, ap );
120 va_start( ap, dimensions );
121 res =
hRedim( array, element_len,
TRUE, isvarlen, dimensions, ap );