Renamed GsweAntiscionInfo to GsweAntiscionAxisInfo
This commit is contained in:
parent
123e0c8a65
commit
49ec42eebe
@ -1045,7 +1045,7 @@ gswe_moment_get_planet_aspects(GsweMoment *moment, GswePlanet planet, GError **e
|
|||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
find_antiscion(GsweAntiscionAxis *axis, GsweAntiscionInfo *antiscion_info, GsweAntiscionData *antiscion_data)
|
find_antiscion(GsweAntiscionAxis *axis, GsweAntiscionAxisInfo *antiscion_info, GsweAntiscionData *antiscion_data)
|
||||||
{
|
{
|
||||||
gdouble start_point,
|
gdouble start_point,
|
||||||
axis_position,
|
axis_position,
|
||||||
|
@ -312,7 +312,7 @@ typedef struct {
|
|||||||
} GsweAspectInfo;
|
} GsweAspectInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GsweAntiscionInfo:
|
* GsweAntiscionAxisInfo:
|
||||||
* @axis_id: the identifier of this mirror's axis
|
* @axis_id: the identifier of this mirror's axis
|
||||||
* @start_sign: represents the sign in whict the mirror axis starts
|
* @start_sign: represents the sign in whict the mirror axis starts
|
||||||
* @name: the name of the mirror
|
* @name: the name of the mirror
|
||||||
@ -323,7 +323,7 @@ typedef struct {
|
|||||||
GsweSignInfo *start_sign;
|
GsweSignInfo *start_sign;
|
||||||
gchar *name;
|
gchar *name;
|
||||||
gboolean middle_axis;
|
gboolean middle_axis;
|
||||||
} GsweAntiscionInfo;
|
} GsweAntiscionAxisInfo;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GsweMoonPhaseData:
|
* GsweMoonPhaseData:
|
||||||
@ -422,7 +422,7 @@ GType gswe_aspect_data_get_type(void);
|
|||||||
* @planet1: the first planet in the antiscion
|
* @planet1: the first planet in the antiscion
|
||||||
* @planet2: the second planet in the antiscion
|
* @planet2: the second planet in the antiscion
|
||||||
* @axis: the axis on which this antiscion is
|
* @axis: the axis on which this antiscion is
|
||||||
* @antiscion_info: the #GsweAntiscionInfo structure associated with this
|
* @antiscion_info: the #GsweAntiscionAxisInfo structure associated with this
|
||||||
* antiscion
|
* antiscion
|
||||||
* @difference: the difference in degrees between an exact antiscion and this
|
* @difference: the difference in degrees between an exact antiscion and this
|
||||||
* given antiscion
|
* given antiscion
|
||||||
@ -431,7 +431,7 @@ typedef struct {
|
|||||||
GswePlanetData *planet1;
|
GswePlanetData *planet1;
|
||||||
GswePlanetData *planet2;
|
GswePlanetData *planet2;
|
||||||
GsweAntiscionAxis axis;
|
GsweAntiscionAxis axis;
|
||||||
GsweAntiscionInfo *antiscion_info;
|
GsweAntiscionAxisInfo *antiscion_info;
|
||||||
gdouble difference;
|
gdouble difference;
|
||||||
} GsweAntiscionData;
|
} GsweAntiscionData;
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ GsweTimestamp *gswe_full_moon_base_date;
|
|||||||
(v)->major = (m); \
|
(v)->major = (m); \
|
||||||
g_hash_table_replace((ht), GINT_TO_POINTER(i), (v));
|
g_hash_table_replace((ht), GINT_TO_POINTER(i), (v));
|
||||||
|
|
||||||
#define ADD_ANTISCION(ht, v, hts, vs, i, n, s, m) (v) = g_new0(GsweAntiscionInfo, 1); \
|
#define ADD_ANTISCION(ht, v, hts, vs, i, n, s, m) (v) = g_new0(GsweAntiscionAxisInfo, 1); \
|
||||||
(vs) = g_hash_table_lookup((hts), GINT_TO_POINTER(i)); \
|
(vs) = g_hash_table_lookup((hts), GINT_TO_POINTER(i)); \
|
||||||
(v)->axis_id = (i); \
|
(v)->axis_id = (i); \
|
||||||
(v)->start_sign = (vs); \
|
(v)->start_sign = (vs); \
|
||||||
@ -116,7 +116,7 @@ gswe_free_aspect_info(gpointer aspect_info)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
gswe_free_antiscion_info(GsweAntiscionInfo *antiscion_info)
|
gswe_free_antiscion_info(GsweAntiscionAxisInfo *antiscion_info)
|
||||||
{
|
{
|
||||||
g_free(antiscion_info->name);
|
g_free(antiscion_info->name);
|
||||||
g_free(antiscion_info);
|
g_free(antiscion_info);
|
||||||
@ -135,7 +135,7 @@ gswe_init(void)
|
|||||||
GsweSignInfo *sign_info;
|
GsweSignInfo *sign_info;
|
||||||
GsweHouseSystemInfo *house_system_info;
|
GsweHouseSystemInfo *house_system_info;
|
||||||
GsweAspectInfo *aspect_info;
|
GsweAspectInfo *aspect_info;
|
||||||
GsweAntiscionInfo *antiscion_info;
|
GsweAntiscionAxisInfo *antiscion_info;
|
||||||
|
|
||||||
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
|
bindtextdomain(GETTEXT_PACKAGE, LOCALEDIR);
|
||||||
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
bind_textdomain_codeset(GETTEXT_PACKAGE, "UTF-8");
|
||||||
|
Loading…
Reference in New Issue
Block a user