Changeset 2552 in Sophya for trunk/SophyaExt/XAstroPack


Ignore:
Timestamp:
Jun 15, 2004, 6:54:57 PM (21 years ago)
Author:
cmv
Message:

POUR LA nouvelle version de xephem/libastro (3.6) cmv 15/6/04

Location:
trunk/SophyaExt/XAstroPack
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/XAstroPack/Makefile

    r1837 r2552  
    1414$(OBJ)xastropack.o: xastropack.cc xastropack.h \
    1515 $(INC)machdefs.h \
    16  $(EXTINCPATH)XAstro/P_.h \
    1716 $(EXTINCPATH)XAstro/astro.h
    1817$(OBJ)magfield.o: magfield.c magfield.h
  • trunk/SophyaExt/XAstroPack/xastropack.cc

    r1808 r2552  
    819819 \endverbatim
    820820*/
    821 void PlanetPos(double mjd,int numplan,double *sunecl,double *sunecb,double *sundist
     821void PlanetPos(double mjd,PLCode numplan,double *sunecl,double *sunecb,double *sundist
    822822              ,double *geodist,double *geoecl,double *geoecb
    823823              ,double *diamang,double *mag)
  • trunk/SophyaExt/XAstroPack/xastropack.h

    r1808 r2552  
    99extern "C" {  /* extern "C" */
    1010#endif
    11 #include "XAstro/P_.h"
     11/* #include "XAstro/P_.h" */
    1212#include "XAstro/astro.h"
     13#undef mjd
     14#undef lat
     15#undef lng
     16#undef tz
     17#undef temp
     18#undef pressure
     19#undef elev
     20#undef dip
     21#undef epoch
     22#undef tznm
     23#undef mjed
    1324#ifdef __cplusplus
    1425}             /* extern "C" */
     
    177188void SunPos(double mjd,double *eclsn,double *ecbsn,double *rsn);
    178189void MoonPos(double mjd,double *lmn,double *bmn,double *rho);
    179 void PlanetPos(double mjd,int numplan,double *sunecl,double *sunecb,double *sundist
     190void PlanetPos(double mjd,PLCode numplan,double *sunecl,double *sunecb,double *sundist
    180191               ,double *geodist,double *geoecl,double *geoecb
    181192               ,double *diamang,double *mag);
     
    183194\brief Same as PlanetPos above with less arguments
    184195*/
    185 inline void PlanetPos(double mjd,int numplan,double *geoecl,double *geoecb
     196inline void PlanetPos(double mjd,PLCode numplan,double *geoecl,double *geoecb
    186197                      ,double *geodist,double *diamang)
    187198{
Note: See TracChangeset for help on using the changeset viewer.