summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-11 19:55:27 +0200
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2020-04-21 16:19:36 +0200
commit639b6d6ae3cb7b36b7a30c7611826ca85339e472 (patch)
tree529ddaba4800d62e3417c052f2a23b59d8b94aff
parent152130d23f272d72870a0595e7de4dc292aaa80a (diff)
eina: add new definitions to a old enum
this is sadly needed due to the fact that we have a .eo defnition in the .eot file which contains the flags keyword. Differential Revision: https://phab.enlightenment.org/D11739
-rw-r--r--src/lib/eina/eina_xattr.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/lib/eina/eina_xattr.h b/src/lib/eina/eina_xattr.h
index 711c40e86f..ff7e10daa1 100644
--- a/src/lib/eina/eina_xattr.h
+++ b/src/lib/eina/eina_xattr.h
@@ -36,9 +36,14 @@
36 * @since 1.1 36 * @since 1.1
37 */ 37 */
38typedef enum { 38typedef enum {
39 EINA_XATTR_INSERT, /**< This is the default behavior, it will either create or replace the extended attribute */ 39 EINA_XATTR_INSERT = 0, /**< This is the default behavior, it will either create or replace the extended attribute */
40 EINA_XATTR_REPLACE, /**< This will only succeed if the extended attribute previously existed */ 40 EINA_XATTR_REPLACE = 1, /**< This will only succeed if the extended attribute previously existed */
41 EINA_XATTR_CREATED /**< This will only succeed if the extended attribute wasn't previously set */ 41 EINA_XATTR_CREATED = 2, /**< This will only succeed if the extended attribute wasn't previously set */
42 //The definitions below are required in order to have symbols available for the enum definition in eina_types.eot
43 EINA_XATTR_FLAGS_INSERT = 0, /**< This is the default behavior, it will either create or replace the extended attribute */
44 EINA_XATTR_FLAGS_REPLACE = 1, /**< This will only succeed if the extended attribute previously existed */
45 EINA_XATTR_FLAGS_CREATED = 2 /**< This will only succeed if the extended attribute wasn't previously set */
46
42} Eina_Xattr_Flags; 47} Eina_Xattr_Flags;
43 48
44typedef struct _Eina_Xattr Eina_Xattr; 49typedef struct _Eina_Xattr Eina_Xattr;