Fix untested bugs

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

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 */