IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37092


Ignore:
Timestamp:
Jul 20, 2014, 10:07:19 AM (12 years ago)
Author:
eugene
Message:

add_*_link returns int instead of off_t

Location:
branches/eam_branches/ipp-20140717/Ohana/src/addstar
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/Ohana/src/addstar/include/addstar.h

    r37089 r37092  
    255255off_t     *init_lensing_links     PROTO((Average *average, off_t Naverage, Lensing *lensing, off_t Nlensing));
    256256off_t     *init_missing_links     PROTO((Average *average, off_t Naverage, Missing *missing, off_t Nmissing));
    257 off_t      add_meas_link          PROTO((Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE));
    258 off_t      add_miss_link          PROTO((Average *average, off_t *next_miss, off_t Nmissing));
    259 off_t      add_lens_link          PROTO((Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING));
     257int        add_meas_link          PROTO((Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE));
     258int        add_miss_link          PROTO((Average *average, off_t *next_miss, off_t Nmissing));
     259int        add_lens_link          PROTO((Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING));
    260260off_t     *build_measure_links    PROTO((Average *average, off_t Naverage, Measure *measure, off_t Nmeasure));
    261261off_t     *build_lensing_links    PROTO((Average *average, off_t Naverage, Lensing *lensing, off_t Nlensing));
  • branches/eam_branches/ipp-20140717/Ohana/src/addstar/src/build_links.c

    r37036 r37092  
    102102
    103103/* average[].measureOffset, average[].Nmeasure are valid within an addstar run */
    104 off_t add_meas_link (Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE) {
     104int add_meas_link (Average *average, off_t *next_meas, off_t Nmeasure, off_t NMEASURE) {
    105105
    106106  off_t k, m;
     
    133133  return (TRUE);
    134134}
    135 
    136 /* Missing does not carry enough information to reconstruct the links
    137    we must always save the missing table, if it exists */
    138135
    139136Measure *sort_measure (Average *average, off_t Naverage, Measure *measure, off_t Nmeasure, off_t *next_meas) {
     
    160157}
    161158
     159/*******************************************************************************************/
     160
    162161/* build the initial links assuming the table is sorted */
    163162off_t *init_missing_links (Average *average, off_t Naverage, Missing *missing, off_t Nmissing) {
     
    186185}
    187186
    188 off_t add_miss_link (Average *average, off_t *next_miss, off_t Nmissing) {
     187int add_miss_link (Average *average, off_t *next_miss, off_t Nmissing) {
    189188
    190189  off_t k, m;
     
    205204}
    206205
     206/* Missing does not carry enough information to reconstruct the links
     207   we must always save the missing table, if it exists */
     208
    207209Missing *sort_missing (Average *average, off_t Naverage, Missing *missing, off_t Nmissing, off_t *next_miss) {
    208210
     
    307309
    308310/* average[].lensingOffset, average[].Nlensing are valid within an addstar run */
    309 off_t add_lens_link (Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING) {
     311int add_lens_link (Average *average, off_t *next_lens, off_t Nlensing, off_t NLENSING) {
    310312
    311313  off_t k, m;
Note: See TracChangeset for help on using the changeset viewer.