IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7459


Ignore:
Timestamp:
Jun 9, 2006, 12:33:43 PM (20 years ago)
Author:
Paul Price
Message:

Adding 'const' to definitions.

Location:
trunk/psModules/src/camera
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmHDUUtils.c

    r7278 r7459  
    55
    66
    7 pmHDU *pmHDUFromFPA(pmFPA *fpa          // FPA for which to find HDU
     7pmHDU *pmHDUFromFPA(const pmFPA *fpa    // FPA for which to find HDU
    88                   )
    99{
     
    1212}
    1313
    14 pmHDU *pmHDUFromChip(pmChip *chip      // Chip for which to find HDU
     14pmHDU *pmHDUFromChip(const pmChip *chip // Chip for which to find HDU
    1515                    )
    1616{
     
    2525}
    2626
    27 pmHDU *pmHDUFromCell(pmCell *cell      // Cell for which to find HDU
     27pmHDU *pmHDUFromCell(const pmCell *cell // Cell for which to find HDU
    2828                    )
    2929{
     
    3838}
    3939
    40 pmHDU *pmHDUFromReadout(pmReadout *readout)
     40pmHDU *pmHDUFromReadout(const pmReadout *readout // Readout for which to find HDU
     41                       )
    4142{
    4243    PS_ASSERT_PTR_NON_NULL(readout, NULL);
     
    4849
    4950// Get the lowest HDU
    50 pmHDU *pmHDUGetLowest(pmFPA *fpa, // The FPA
    51                       pmChip *chip, // The chip, or NULL
    52                       pmCell *cell // The cell, or NULL
     51pmHDU *pmHDUGetLowest(const pmFPA *fpa, // The FPA
     52                      const pmChip *chip, // The chip, or NULL
     53                      const pmCell *cell // The cell, or NULL
    5354                     )
    5455{
     
    6566}
    6667
    67 void pmHDUPrint(pmHDU *hdu,             // HDU to print
     68void pmHDUPrint(const pmHDU *hdu,       // HDU to print
    6869                int level,              // Level at which to print
    6970                bool header             // Print header?
  • trunk/psModules/src/camera/pmHDUUtils.h

    r7168 r7459  
    66
    77// Get the lowest HDU in the hierarchy, as supplied
    8 pmHDU *pmHDUGetLowest(pmFPA *fpa, // The FPA
    9                       pmChip *chip, // The chip, or NULL
    10                       pmCell *cell // The cell, or NULL
     8pmHDU *pmHDUGetLowest(const pmFPA *fpa, // The FPA
     9                      const pmChip *chip, // The chip, or NULL
     10                      const pmCell *cell // The cell, or NULL
    1111                     );
    1212
    1313// Find the HDU in the FPA hierarchy
    14 pmHDU *pmHDUFromFPA(pmFPA *fpa          // FPA for which to find HDU
     14pmHDU *pmHDUFromFPA(const pmFPA *fpa    // FPA for which to find HDU
    1515                   );
    16 pmHDU *pmHDUFromChip(pmChip *chip      // Chip for which to find HDU
     16pmHDU *pmHDUFromChip(const pmChip *chip // Chip for which to find HDU
    1717                    );
    18 pmHDU *pmHDUFromCell(pmCell *cell      // Cell for which to find HDU
     18pmHDU *pmHDUFromCell(const pmCell *cell // Cell for which to find HDU
    1919                    );
    20 
    21 pmHDU *pmHDUFromReadout (pmReadout *readout  // Readout for which to find HDU
    22                         );
     20pmHDU *pmHDUFromReadout(const pmReadout *readout // Readout for which to find HDU
     21                       );
    2322
    2423// Print details about an HDU
    25 void pmHDUPrint(pmHDU *hdu,             // HDU to print
     24void pmHDUPrint(const pmHDU *hdu,       // HDU to print
    2625                int level,              // Level at which to print
    2726                bool header             // Print header?
Note: See TracChangeset for help on using the changeset viewer.