IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 29, 2015, 5:24:53 PM (11 years ago)
Author:
eugene
Message:

table compression is internally consistent (tables can be generated and compressed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/libfits/table/F_table_varlength.c

    r38329 r38334  
    128128  Nx = ftable->header->Naxis[0];
    129129
    130 # ifdef BYTE_SWAP
    131   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 # endif
    137 
    138130  if (column->mode == 'P') {
    139131    int *ptr;
     
    156148// for varlength columns to the heap.  To start, assume we have defined the cartesian
    157149// 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 out
    161150
    162151int 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.