[libshumate/tintou/location-min-max: 4/4] Location: Document and annotate MIN/MAX lontitudes and longitudes
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libshumate/tintou/location-min-max: 4/4] Location: Document and annotate MIN/MAX lontitudes and longitudes
- Date: Wed, 8 Sep 2021 13:16:11 +0000 (UTC)
commit 05d3b7678db65fd4ef720c56352f2a5bf6c95bb3
Author: Corentin Noël <corentin noel collabora com>
Date: Wed Sep 8 11:36:01 2021 +0200
Location: Document and annotate MIN/MAX lontitudes and longitudes
Allows to use the right value from the introspection.
shumate/shumate-location.h | 31 +++++++++++++++++++++++++++----
1 file changed, 27 insertions(+), 4 deletions(-)
---
diff --git a/shumate/shumate-location.h b/shumate/shumate-location.h
index 0f29c1a..bc7caa0 100644
--- a/shumate/shumate-location.h
+++ b/shumate/shumate-location.h
@@ -28,10 +28,33 @@
G_BEGIN_DECLS
-#define SHUMATE_MIN_LATITUDE -85.0511287798
-#define SHUMATE_MAX_LATITUDE 85.0511287798
-#define SHUMATE_MIN_LONGITUDE -180.0
-#define SHUMATE_MAX_LONGITUDE 180.0
+/**
+ * SHUMATE_MIN_LATITUDE: (value -85.0511287798)
+ *
+ * The minimal possible latitude value.
+ */
+#define SHUMATE_MIN_LATITUDE (-85.0511287798)
+
+/**
+ * SHUMATE_MAX_LATITUDE: (value 85.0511287798)
+ *
+ * The maximal possible latitude value.
+ */
+#define SHUMATE_MAX_LATITUDE (85.0511287798)
+
+/**
+ * SHUMATE_MIN_LONGITUDE: (value -180.0)
+ *
+ * The minimal possible longitude value.
+ */
+#define SHUMATE_MIN_LONGITUDE (-180.0)
+
+/**
+ * SHUMATE_MAX_LONGITUDE: (value 180.0)
+ *
+ * The maximal possible longitude value.
+ */
+#define SHUMATE_MAX_LONGITUDE (180.0)
#define SHUMATE_TYPE_LOCATION (shumate_location_get_type ())
G_DECLARE_INTERFACE (ShumateLocation, shumate_location, SHUMATE, LOCATION, GObject)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]