Add version information to some new functions

This commit is contained in:
Gergely Polonkai 2014-07-08 11:02:25 +02:00
parent 95e89a4c25
commit d5bea25e4d
3 changed files with 24 additions and 0 deletions

View File

@ -1205,6 +1205,8 @@ gswe_timestamp_get_julian_day_et(GsweTimestamp *timestamp, GError **err)
* be in Universal Time (UT). For Ephemeris time, see
* gswe_timestamp_set_julian_day(). Should an error occur, @err is populated
* with the error details.
*
* Since: 2.1
*/
void
gswe_timestamp_set_julian_day_ut(
@ -1256,6 +1258,8 @@ gswe_timestamp_set_julian_day_ut(
* Gets the Julian day value of @timestamp, Universal Time (UT). For Ephemeris
* Time (ET) see gswe_timestamp_get_julian_day_et(). @err is populated if the
* calculations raise an error.
*
* Since: 2.1
*/
gdouble
gswe_timestamp_get_julian_day_ut(GsweTimestamp *timestamp, GError **err)

View File

@ -33,18 +33,24 @@
* GSWE_MAJOR_VERSION:
*
* The major version number of the SWE-GLib library.
*
* Since: 2.1
*/
/**
* GSWE_MINOR_VERSION:
*
* The minor version number of the SWE-GLib library.
*
* Since: 2.1
*/
/**
* GSWE_MICRO_VERSION:
*
* The micro version number of the SWE-GLib library.
*
* Since: 2.1
*/
/**
@ -57,6 +63,8 @@
* against.
*
* Returns: TRUE if the required version is satisfied; FALSE otherwise.
*
* Since: 2.1
*/
/**
@ -69,6 +77,8 @@
* version.
*
* Returns: TRUE if the required version is satisfied; FALSE otherwise.
*
* Since: 2.1
*/
gboolean
gswe_check_version(

View File

@ -665,6 +665,8 @@ gswe_init(void)
* @err: a GError
*
* Find the #GswePlanetInfo record registered with the id @planet.
*
* Since: 2.1
*/
GswePlanetInfo *
gswe_find_planet_info_by_id(GswePlanet planet, GError **err)
@ -691,6 +693,8 @@ gswe_find_planet_info_by_id(GswePlanet planet, GError **err)
* @err: a GError
*
* Find the #GsweSignInfo record registered with the id @sign.
*
* Since: 2.1
*/
GsweSignInfo *
gswe_find_sign_info_by_id(GsweZodiac sign, GError **err)
@ -717,6 +721,8 @@ gswe_find_sign_info_by_id(GsweZodiac sign, GError **err)
* @err: a GError
*
* Find the #GsweHouseSystemInfo record registered with the id @house_system.
*
* Since: 2.1
*/
GsweHouseSystemInfo *
gswe_find_house_system_info_by_id(GsweHouseSystem house_system, GError **err)
@ -743,6 +749,8 @@ gswe_find_house_system_info_by_id(GsweHouseSystem house_system, GError **err)
* @err: a GError
*
* Find the #GsweAspectInfo record registered with the id @aspect.
*
* Since: 2.1
*/
GsweAspectInfo *
gswe_find_aspect_info_by_id(GsweAspect aspect, GError **err)
@ -770,6 +778,8 @@ gswe_find_aspect_info_by_id(GsweAspect aspect, GError **err)
*
* Find the #GsweAntiscionAxisInfo record registered with the id
* @antiscion_axis.
*
* Since: 2.1
*/
GsweAntiscionAxisInfo *
gswe_find_antiscion_axis_info_by_id(