summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/API/JSObjectRef.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-08-21 10:21:10 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-08-21 10:21:10 (GMT)
commit8feda9e2802022ae3da3d9ba0913b0130b0bdc40 (patch)
tree7e7f5c5ea315848a59367b386baf7bfd07f6e7d1 /src/3rdparty/webkit/JavaScriptCore/API/JSObjectRef.h
parentfc82b170f107d335aea6d468df6e4f5bc5db7cf5 (diff)
parent078f3ec042251af6bb9d9c194f29782c9e7b08a5 (diff)
downloadQt-8feda9e2802022ae3da3d9ba0913b0130b0bdc40.zip
Qt-8feda9e2802022ae3da3d9ba0913b0130b0bdc40.tar.gz
Qt-8feda9e2802022ae3da3d9ba0913b0130b0bdc40.tar.bz2
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/API/JSObjectRef.h')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/API/JSObjectRef.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/API/JSObjectRef.h b/src/3rdparty/webkit/JavaScriptCore/API/JSObjectRef.h
index 3e8b0eb..86921bd 100644
--- a/src/3rdparty/webkit/JavaScriptCore/API/JSObjectRef.h
+++ b/src/3rdparty/webkit/JavaScriptCore/API/JSObjectRef.h
@@ -187,6 +187,7 @@ typedef bool
@param ctx The execution context to use.
@param object The JSObject whose property names are being collected.
@param accumulator A JavaScript property name accumulator in which to accumulate the names of object's properties.
+@param flag Specify which property should be included
@discussion If you named your function GetPropertyNames, you would declare it like this:
void GetPropertyNames(JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulatorRef propertyNames);
@@ -196,7 +197,7 @@ Property name accumulators are used by JSObjectCopyPropertyNames and JavaScript
Use JSPropertyNameAccumulatorAddName to add property names to accumulator. A class's getPropertyNames callback only needs to provide the names of properties that the class vends through a custom getProperty or setProperty callback. Other properties, including statically declared properties, properties vended by other classes, and properties belonging to object's prototype, are added independently.
*/
typedef void
-(*JSObjectGetPropertyNamesCallback) (JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulatorRef propertyNames);
+(*JSObjectGetPropertyNamesCallback) (JSContextRef ctx, JSObjectRef object, JSPropertyNameAccumulatorRef propertyNames, unsigned flag);
/*!
@typedef JSObjectCallAsFunctionCallback