forked from enlightenment/efl
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
This commit is contained in:
parent
152130d23f
commit
639b6d6ae3
|
@ -36,9 +36,14 @@
|
||||||
* @since 1.1
|
* @since 1.1
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
EINA_XATTR_INSERT, /**< This is the default behavior, it will either create or replace the extended attribute */
|
EINA_XATTR_INSERT = 0, /**< This is the default behavior, it will either create or replace the extended attribute */
|
||||||
EINA_XATTR_REPLACE, /**< This will only succeed if the extended attribute previously existed */
|
EINA_XATTR_REPLACE = 1, /**< This will only succeed if the extended attribute previously existed */
|
||||||
EINA_XATTR_CREATED /**< This will only succeed if the extended attribute wasn't previously set */
|
EINA_XATTR_CREATED = 2, /**< This will only succeed if the extended attribute wasn't previously set */
|
||||||
|
//The definitions below are required in order to have symbols available for the enum definition in eina_types.eot
|
||||||
|
EINA_XATTR_FLAGS_INSERT = 0, /**< This is the default behavior, it will either create or replace the extended attribute */
|
||||||
|
EINA_XATTR_FLAGS_REPLACE = 1, /**< This will only succeed if the extended attribute previously existed */
|
||||||
|
EINA_XATTR_FLAGS_CREATED = 2 /**< This will only succeed if the extended attribute wasn't previously set */
|
||||||
|
|
||||||
} Eina_Xattr_Flags;
|
} Eina_Xattr_Flags;
|
||||||
|
|
||||||
typedef struct _Eina_Xattr Eina_Xattr;
|
typedef struct _Eina_Xattr Eina_Xattr;
|
||||||
|
|
Loading…
Reference in New Issue