IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 24, 2020, 2:44:55 PM (6 years ago)
Author:
eugene
Message:

rename libfits byte-type to gfbyte to avoid collisions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/table/F_get_column.c

    r41395 r41422  
    8888    }
    8989  }
    90   if (!strcmp (type, "byte")) {
     90  if (!strcmp (type, "gfbyte")) {
    9191    for (i = 0; i < Nval*Ny; i++, Pin+=Nbytes, Pout+=Nbytes) {
    9292      if (!directCopy) { *(char *)Pout = *(char *)Pin*Bscale + Bzero; }
     
    159159  /* convert data in-situ with correct type, byte swap and Bzero/Bscale */
    160160  if (!strcmp (type, "char")) return TRUE;
    161   if (!strcmp (type, "byte")) return TRUE;
     161  if (!strcmp (type, "gfbyte")) return TRUE;
    162162
    163163  /* check existing table dimensions */
Note: See TracChangeset for help on using the changeset viewer.