- Timestamp:
- May 29, 2015, 5:24:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20150429/src/libfits/table/F_table_varlength.c
r38329 r38334 128 128 Nx = ftable->header->Naxis[0]; 129 129 130 # ifdef BYTE_SWAP131 char *pchar, tmp;132 pchar = &ftable->buffer[row*Nx + column->offset];133 SWAP_WORD;134 pchar = &ftable->buffer[row*Nx + column->offset + 4];135 SWAP_WORD;136 # endif137 138 130 if (column->mode == 'P') { 139 131 int *ptr; … … 156 148 // for varlength columns to the heap. To start, assume we have defined the cartesian 157 149 // portion of the table correctly, and are only extending the heap. 158 159 // XXX NOTE: this function assumes the table data is currently in local byte swap order.160 // swap before writing out161 150 162 151 int gfits_varlength_column_add_data (FTable *table, char *data, off_t Ndata, int row, VarLengthColumn *column) {
Note:
See TracChangeset
for help on using the changeset viewer.
