IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1528


Ignore:
Timestamp:
Aug 13, 2004, 11:01:58 AM (22 years ago)
Author:
Paul Price
Message:

Removed parameter "out" in psCellInFPA,psChipInFPA,psCellInChip to
avoid potential for memory leaks.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psAstrom.h

    r1518 r1528  
    221221/** Return the cell in FPA which contains the given FPA coordinates */
    222222psCell *
    223 psCellInFPA(psCell *out,                ///< Cell to return, or NULL
    224             const psPlane *coord,       ///< Coordinate in FPA
     223psCellInFPA(const psPlane *coord,       ///< Coordinate in FPA
    225224            const psFPA *fpa)           ///< FPA description
    226225;
     
    229228/** returns Chip in FPA which contains the given FPA coordinate */
    230229psChip *
    231 psChipInFPA (psChip *out,               ///< Chip to return, or NULL
    232              const psPlane *coord,      ///< coordinate in FPA
    233              const psFPA *fpa)          ///< FPA description
     230psChipInFPA(const psPlane *coord,       ///< coordinate in FPA
     231            const psFPA *fpa)           ///< FPA description
    234232;
    235233
    236234/** returns Cell in Chip which contains the given chip coordinate */
    237235psCell *
    238 psCellInChip(psCell *out,               ///< Cell to return, or NULL
    239              const psPlane *coord,      ///< coordinate in chip
     236psCellInChip(const psPlane *coord,      ///< coordinate in chip
    240237             const psChip *chip)        ///< chip description
    241238;
  • trunk/doc/pslib/psLibSDRS_Astrom.tex

    r1517 r1528  
    407407%
    408408\begin{verbatim}
    409 psCell *psCellInFPA (psCell *out, const psPlane *coord, const psFPA *fpa);
    410 psChip *psChipInFPA (psChip *out, const psPlane *coord, const psFPA *fpa);
    411 psCell *psCellInChip(psCell *out, const psPlane *coord, const psChip *chip);
     409psCell *psCellInFPA (const psPlane *coord, const psFPA *fpa);
     410psChip *psChipInFPA (const psPlane *coord, const psFPA *fpa);
     411psCell *psCellInChip(const psPlane *coord, const psChip *chip);
    412412\end{verbatim}
    413413
Note: See TracChangeset for help on using the changeset viewer.