File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ typedef enum {
123
123
124
124
/* Private definition of the HDS locator struct */
125
125
typedef struct LOC {
126
+ int hds_version ; /* Implementation version number. Always 5 at the moment. */
126
127
void * pntr ; /* Pointer to memory mapped data array [datMap only] */
127
128
size_t bytesmapped ; /* Number of bytes mapped into memory [datMap only] */
128
129
size_t vectorized ; /* if 0 not vectorized, else number of vectorized elements */
Original file line number Diff line number Diff line change @@ -101,5 +101,7 @@ dat1AllocLoc( int * status ) {
101
101
emsRep ("dat1AllocLoc" , "Could not allocate memory for HDS locator" ,
102
102
status );
103
103
}
104
+ /* Force the implementation version into the struct */
105
+ newloc -> hds_version = 5 ;
104
106
return newloc ;
105
107
}
You can’t perform that action at this time.
0 commit comments