The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Add gswe_all_(planets|aspects|antiscion_axes) functions

timestamp-validity
Gergely Polonkai 8 years ago
parent 188a12d1ee
commit 510e440ef4
  1. 3
      docs/reference/swe-glib/swe-glib-sections.txt
  2. 55
      src/swe-glib.c
  3. 6
      src/swe-glib.h

@ -81,6 +81,7 @@ gswe_sign_info_get_type
<FILE>gswe-planet-info</FILE>
GswePlanetInfo
gswe_find_planet_info_by_id
gswe_all_planets
gswe_planet_info_new
gswe_planet_info_ref
gswe_planet_info_unref
@ -125,6 +126,7 @@ gswe_planet_data_get_type
<FILE>gswe-aspect-info</FILE>
GsweAspectInfo
gswe_find_aspect_info_by_id
gswe_all_aspects
gswe_aspect_info_new
gswe_aspect_info_ref
gswe_aspect_info_unref
@ -169,6 +171,7 @@ gswe_aspect_data_get_type
<FILE>gswe-antiscion-axis-info</FILE>
GsweAntiscionAxisInfo
gswe_find_antiscion_axis_info_by_id
gswe_all_antiscion_axes
gswe_antiscion_axis_info_new
gswe_antiscion_axis_info_ref
gswe_antiscion_axis_info_unref

@ -831,9 +831,10 @@ gswe_find_antiscion_axis_info_by_id(
/**
* gswe_all_house_systems:
*
* Returns: (element-type GsweHouseSystemInfo) (transfer container): All
* #GsweHouseSystemInfo registered with SWE-GLib. This list should not be
* modified nor freed and is only valid until a new house system is registered.
* Returns: (element-type GsweHouseSystemInfo) (transfer container):
* All #GsweHouseSystemInfo registered with SWE-GLib. The elements of
* this list should not be modified nor freed. The list is only valid
* until a new house system is registered.
*
* Since: 2.1.0
*/
@ -842,3 +843,51 @@ gswe_all_house_systems(void)
{
return g_hash_table_get_values(gswe_house_system_info_table);
}
/**
* gswe_all_planets:
*
* Returns: (element-type GswePlanetInfo) (transfer container): All
* #GswePlanetInfo registered with SWE-GLib. The elements of this list
* should not be modified nor freed. The list is only valid until a
* new planet is registered.
*
* Since: 2.1.0
*/
GList *
gswe_all_planets(void)
{
return g_hash_table_get_values(gswe_planet_info_table);
}
/**
* gswe_all_aspects:
*
* Returns: (element-type GsweAspectInfo) (transfer container): All
* #GsweAspectInfo registered with SWE-GLib. The elements of this list
* should not be modified nor freed. The list is only valid until a
* new aspect is registered.
*
* Since: 2.1.0
*/
GList *
gswe_all_aspects(void)
{
return g_hash_table_get_values(gswe_aspect_info_table);
}
/**
* gswe_all_antiscion_axes:
*
* Returns: (element-type GsweAntiscionAxisInfo) (transfer container):
* All #GsweAntiscionAxisInfo registered with SWE-GLib. The elements
* of this list should not be modified nor freed. The list is only
* valid until a new antiscion axis is registered.
*
* Since: 2.1.0
*/
GList *
gswe_all_antiscion_axes(void)
{
return g_hash_table_get_values(gswe_antiscion_axis_info_table);
}

@ -69,4 +69,10 @@ GsweAntiscionAxisInfo *gswe_find_antiscion_axis_info_by_id(
GList *gswe_all_house_systems(void);
GList *gswe_all_planets(void);
GList *gswe_all_aspects(void);
GList *gswe_all_antiscion_axes(void);
#endif /* __SWE_GLIB_H__ */

Loading…
Cancel
Save