Changed GswePlanetInfo to a refcounted boxed type

This commit is contained in:
2013-09-27 18:32:44 +02:00
parent c5d8ee49eb
commit dcd58b5dd1
5 changed files with 167 additions and 49 deletions

View File

@@ -44,7 +44,7 @@ GHashTable *gswe_antiscion_axis_info_table;
GsweTimestamp *gswe_full_moon_base_date;
#define ADD_PLANET(ht, v, i, s, r, n, o, h) \
(v) = g_new0(GswePlanetInfo, 1); \
(v) = gswe_planet_info_new(); \
(v)->planet = (i); \
(v)->sweph_id = (s); \
(v)->real_body = (r); \