IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 9, 2004, 2:05:25 PM (22 years ago)
Author:
Paul Price
Message:

Changed constructor/destructor naming convention from "psXyzNew" to "psXyzAlloc"
and from "psXyzDel" to "psXyzFree".

File:
1 edited

Legend:

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

    r153 r160  
    3737/** Constructor */
    3838psObject *
    39 psObjectNew(void);
     39psObjectAlloc(void);
    4040
    4141/** Destructor */
    4242void
    43 psObjectDel(psObject *restrict myObject);
     43psObjectFree(psObject *restrict myObject);
    4444
    4545/***********************************************************************************************************/
     
    5959/** Constructor */
    6060psImageObjects *
    61 psImageObjectsNew(const psImage *image, //!< Image that produced the objects, which has metadata we need
     61psImageObjectsAlloc(const psImage *image,       //!< Image that produced the objects, which has metadata we need
    6262                  psObjectArray *objects //!< The objects
    6363                  );
     
    6565/** Destructor */
    6666void
    67 psImageObjectsDel(psImageObjects *restrict myImageObjects //!< Object to destroy
     67psImageObjectsFree(psImageObjects *restrict myImageObjects //!< Object to destroy
    6868                  );
    6969
     
    7878/** Constructor */
    7979psCatalogueObjects *
    80 psCatalogueObjectsNew(enum psCatalogue *catalogue, //!< Source catalogue
     80psCatalogueObjectsAlloc(enum psCatalogue *catalogue, //!< Source catalogue
    8181                      psObjectArray *objects //!< The objects
    8282                      );
     
    8484/** Destructor */
    8585void
    86 psCatalogueObjectsDel(psCatalogeObjects *restrict myCatalogueObjects //!< Object to destroy
     86psCatalogueObjectsFree(psCatalogeObjects *restrict myCatalogueObjects //!< Object to destroy
    8787                      );
    8888
     
    103103/** Constructor */
    104104psSuperObject *
    105 psSuperObjectNew(const psImageArray *images, //!< The images with the measurements
     105psSuperObjectAlloc(const psImageArray *images, //!< The images with the measurements
    106106                 const psObjectArray *objects //!< Object measurements
    107107                 );
     
    109109/** Destructor */
    110110void
    111 psSuperObjectDel(psSuperObject *restrict mySuperObject //!< Object to destroy
     111psSuperObjectFree(psSuperObject *restrict mySuperObject //!< Object to destroy
    112112                 );
    113113
Note: See TracChangeset for help on using the changeset viewer.