Fix untested bugs

Data file path and enum generation failed after last commit
This commit is contained in:
Gergely Polonkai 2014-09-02 16:10:18 +02:00
parent a3a1dd0bd4
commit 188a12d1ee
2 changed files with 31 additions and 30 deletions

View File

@ -58,18 +58,18 @@ sweph_DATA = \
sweph-data/seplm48.se1 \
sweph-data/seplm54.se1 \
sweph-data/seleapsec.txt \
data/sweph-data/s136199.se1 \
data/sweph-data/s136199s.se1 \
data/sweph-data/se00010s.se1 \
data/sweph-data/se00034s.se1 \
data/sweph-data/se00157s.se1 \
data/sweph-data/se07066s.se1 \
data/sweph-data/se08405s.se1 \
data/sweph-data/se10199s.se1 \
data/sweph-data/se90377.se1 \
data/sweph-data/se90377s.se1 \
data/sweph-data/se90482.se1 \
data/sweph-data/se90482s.se1 \
sweph-data/s136199.se1 \
sweph-data/s136199s.se1 \
sweph-data/se00010s.se1 \
sweph-data/se00034s.se1 \
sweph-data/se00157s.se1 \
sweph-data/se07066s.se1 \
sweph-data/se08405s.se1 \
sweph-data/se10199s.se1 \
sweph-data/se90377.se1 \
sweph-data/se90377s.se1 \
sweph-data/se90482.se1 \
sweph-data/se90482s.se1 \
$(NULL)
EXTRA_DIST = \

View File

@ -71,14 +71,15 @@
* This enum holds the planet identifiers known by SWE-GLib.
*/
typedef enum {
// Theoretical/non-existing points
/* Theoretical/non-existing points */
GSWE_PLANET_NONE = 0,
GSWE_PLANET_ASCENDANT,
GSWE_PLANET_MC,
GSWE_PLANET_VERTEX,
GSWE_PLANET_MOON_NODE,
GSWE_PLANET_MOON_APOGEE,
// Actual astrological planets
/* Actual astrological planets */
GSWE_PLANET_SUN = 11,
GSWE_PLANET_MOON,
GSWE_PLANET_MERCURY,
@ -90,22 +91,22 @@ typedef enum {
GSWE_PLANET_URANUS,
GSWE_PLANET_NEPTUNE,
GSWE_PLANET_PLUTO,
// Dwarves and asteroids
GSWE_PLANET_CHIRON = 101, // Included in ephemerides files
GSWE_PLANET_CERES, // Included in ephemerides files
GSWE_PLANET_PALLAS, // Included in ephemerides files
GSWE_PLANET_JUNO, // Included in ephemerides files
GSWE_PLANET_VESTA, // Included in ephemerides files
GSWE_PLANET_PHOLUS, // Included in ephemerides files
GSWE_PLANET_NESSUS, // 7066
GSWE_PLANET_CHARIKLO, // 10199
GSWE_PLANET_SEDNA, // 90377
GSWE_PLANET_ERIS, // 136199
GSWE_PLANET_DEJANIRA, // 157
GSWE_PLANET_CIRCE, // 34
GSWE_PLANET_ORCUS, // 90482
GSWE_PLANET_ASBOLUS, // 8405
GSWE_PLANET_HYGIEA // 10
/* Dwarves and asteroids */
GSWE_PLANET_CHIRON = 101, /* Included in ephemerides files */
GSWE_PLANET_CERES, /* Included in ephemerides files */
GSWE_PLANET_PALLAS, /* Included in ephemerides files */
GSWE_PLANET_JUNO, /* Included in ephemerides files */
GSWE_PLANET_VESTA, /* Included in ephemerides files */
GSWE_PLANET_PHOLUS, /* Included in ephemerides files */
GSWE_PLANET_NESSUS, /* 7066 */
GSWE_PLANET_CHARIKLO, /* 10199 */
GSWE_PLANET_SEDNA, /* 90377 */
GSWE_PLANET_ERIS, /* 136199 */
GSWE_PLANET_DEJANIRA, /* 157 */
GSWE_PLANET_CIRCE, /* 34 */
GSWE_PLANET_ORCUS, /* 90482 */
GSWE_PLANET_ASBOLUS, /* 8405 */
GSWE_PLANET_HYGIEA /* 10 */
} GswePlanet;
/* Moon Apogee in astrology is often referred to as the Dark Moon, or Lilith */