[glib/wip/hadess/add-memory-monitor: 78/78] flags



commit cd757e3d3ce5ba93ed2c976d8bbe918c0514a029
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jul 29 17:46:29 2019 +0200

    flags

 docs/reference/gio/gio-sections-common.txt |  1 +
 gio/gioenums.h                             | 12 ++++++++++++
 2 files changed, 13 insertions(+)
---
diff --git a/docs/reference/gio/gio-sections-common.txt b/docs/reference/gio/gio-sections-common.txt
index 9e5bd26e5..12245ca55 100644
--- a/docs/reference/gio/gio-sections-common.txt
+++ b/docs/reference/gio/gio-sections-common.txt
@@ -4173,6 +4173,7 @@ GDBusObjectManagerServerPrivate
 <FILE>gmemorymonitor</FILE>
 <TITLE>GMemoryMonitor</TITLE>
 GMemoryMonitor
+GMemoryMonitorFlags
 GMemoryMonitorInterface
 G_MEMORY_MONITOR_EXTENSION_POINT_NAME
 g_memory_monitor_get_default
diff --git a/gio/gioenums.h b/gio/gioenums.h
index 22fe7005c..ea58902a4 100644
--- a/gio/gioenums.h
+++ b/gio/gioenums.h
@@ -1916,6 +1916,18 @@ typedef enum {
   G_NOTIFICATION_PRIORITY_URGENT
 } GNotificationPriority;
 
+/**
+ * GMemoryMonitorFlags:
+ * @G_MEMORY_MONITOR_FLAGS_NONE: No flags set.
+ *
+ * #GMemoryMonitorFlags qualify the low memory warnings sent by
+ * #GMemoryMonitor. There are no special flags for now.
+ *
+ * Since: 2.64
+ */
+typedef enum {
+ G_MEMORY_MONITOR_FLAGS_NONE         = 0
+} GMemoryMonitorFlags;
 /**
  * GNetworkConnectivity:
  * @G_NETWORK_CONNECTIVITY_LOCAL: The host is not configured with a


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]