Changeset 1223 for branches/4.2/bindings/idl/NeXusIDL-API.c
- Timestamp:
- 08/04/09 14:21:26 (3 years ago)
- File:
-
- 1 edited
-
branches/4.2/bindings/idl/NeXusIDL-API.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/bindings/idl/NeXusIDL-API.c
r1154 r1223 1997 1997 int iHandle, status; 1998 1998 int rank, datatype, n; 1999 int start[NX_MAXRANK], size[NX_MAXRANK], dim[NX_MAXRANK]; 1999 IDL_MEMINT start[NX_MAXRANK], size[NX_MAXRANK], dim[NX_MAXRANK]; 2000 int istart[NX_MAXRANK], isize[NX_MAXRANK]; 2000 2001 IDL_LONG *stDim, *szDim; 2001 2002 IDL_ARRAY_DIM dimension; … … 2050 2051 for(n = 0; n < rank; n++){ 2051 2052 start[n] = stDim[rank -n -1]; 2053 istart[n] = stDim[rank -n -1]; 2052 2054 size[n] = szDim[rank -n -1]; 2055 isize[n] = szDim[rank -n -1]; 2053 2056 } 2054 2057 … … 2137 2140 2138 2141 else { 2139 status = NXgetslab (hHandle, data_buffer, start,size);2142 status = NXgetslab (hHandle, data_buffer, istart, isize); 2140 2143 if(status == NX_ERROR) 2141 2144 {
Note: See TracChangeset
for help on using the changeset viewer.
