[planner] Even cpp macros comment block.
- From: Alexandre Franke <afranke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [planner] Even cpp macros comment block.
- Date: Sun, 24 Feb 2019 21:49:29 +0000 (UTC)
commit 9ae924a802febccdae83a214bd182ff8389660f0
Author: Ahmed Baïzid <ahmed baizid org>
Date: Fri Apr 10 12:35:22 2015 +0200
Even cpp macros comment block.
https://bugzilla.gnome.org/show_bug.cgi?id=747423
libplanner/mrp-task.h | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/libplanner/mrp-task.h b/libplanner/mrp-task.h
index 82568df..09e11b0 100644
--- a/libplanner/mrp-task.h
+++ b/libplanner/mrp-task.h
@@ -68,10 +68,21 @@ typedef struct {
gint res_n;
} MrpUnitsInterval;
+/**
+ * UNIT_IVAL_GET_TIME:
+ * @R: an interval
+ *
+ * Get start or end time of an interval.
+ */
#define UNIT_IVAL_GET_TIME(R) ((R->is_start?R->start:R->end))
#ifdef WITH_SIMPLE_PRIORITY_SCHEDULING
-/* Value of the magic priority of a dominant task. */
+
+/**
+ * MRP_DOMINANT_PRIORITY:
+ *
+ * Value of the magic priority of a dominant task.
+ */
#define MRP_DOMINANT_PRIORITY 9999
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]