summaryrefslogtreecommitdiff
path: root/src/glibext/gbinportion.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-29 22:54:42 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-29 22:54:42 (GMT)
commit49fcaf9ea6dc34382ac69b3eaf803c0617b652e0 (patch)
tree7fcd84f6f16ac8e646e01f266c66e0bff41106ad /src/glibext/gbinportion.h
parentce583a69951bf9a94ca46bcf9f598cdc94b80e29 (diff)
Introduced binary portion support for Python bindings.
Diffstat (limited to 'src/glibext/gbinportion.h')
-rw-r--r--src/glibext/gbinportion.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/glibext/gbinportion.h b/src/glibext/gbinportion.h
index 5c8c363..e20e159 100644
--- a/src/glibext/gbinportion.h
+++ b/src/glibext/gbinportion.h
@@ -75,6 +75,9 @@ typedef enum _PortionAccessRights
} PortionAccessRights;
+#define PAC_ALL ((PortionAccessRights)(PAC_READ | PAC_WRITE | PAC_EXEC))
+
+
/* Indique le type défini par la GLib pour les portions de données binaires. */
GType g_binary_portion_get_type(void);