From 188a12d1ee354b2ab1534a37c4d599a8fe4333c7 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 2 Sep 2014 16:10:18 +0200 Subject: [PATCH] Fix untested bugs Data file path and enum generation failed after last commit --- data/Makefile.am | 24 ++++++++++++------------ src/gswe-types.h | 37 +++++++++++++++++++------------------ 2 files changed, 31 insertions(+), 30 deletions(-) diff --git a/data/Makefile.am b/data/Makefile.am index e590252..43756e8 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -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 = \ diff --git a/src/gswe-types.h b/src/gswe-types.h index bf67f67..7e448d8 100644 --- a/src/gswe-types.h +++ b/src/gswe-types.h @@ -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 */