aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4/qv4global.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4/qv4global.h')
-rw-r--r--src/v4/qv4global.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/v4/qv4global.h b/src/v4/qv4global.h
index f3964e9113..43409b2650 100644
--- a/src/v4/qv4global.h
+++ b/src/v4/qv4global.h
@@ -59,12 +59,18 @@ QT_BEGIN_NAMESPACE
namespace QQmlJS {
namespace VM {
-enum PropertyFlags {
- Writable = 0x1,
- Enumerable = 0x2,
- Configurable = 0x4
+enum {
+ Attr_Default = 0,
+ Attr_Accessor = 0x1,
+ Attr_NotWritable = 0x2,
+ Attr_NotEnumerable = 0x4,
+ Attr_NotConfigurable = 0x8,
+ Attr_ReadOnly = Attr_NotWritable|Attr_NotEnumerable|Attr_NotConfigurable,
+ Attr_Invalid = 0xff
};
+typedef uchar PropertyAttributes;
+
}
}