IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27816


Ignore:
Timestamp:
May 2, 2010, 11:20:07 AM (16 years ago)
Author:
eugene
Message:

create a macro to return the image type

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/mathtypes/psImage.h

    r19056 r27816  
    6666#define P_PSIMAGE_SET_ROW0(img,r0) {*(int*)&img->row0 = r0;}
    6767#define P_PSIMAGE_SET_TYPE(img,t) {*(psMathType*)&img->type = t;}
     68#define P_PSIMAGE_GET_TYPE(img) ((img)->type->type)
    6869
    6970/** Create an image of the specified size and type.
Note: See TracChangeset for help on using the changeset viewer.