]> git.saurik.com Git - apple/javascriptcore.git/blob - replay/scripts/tests/generate-enum-with-guard.json
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / replay / scripts / tests / generate-enum-with-guard.json
1 {
2 "types": {
3 "Global": [
4 { "name": "uint64_t", "mode": "SCALAR" }
5 ],
6 "WebCore": [
7 {
8 "name": "PlatformWheelEvent", "mode": "OWNED",
9 "header": "platform/PlatformWheelEvent.h"
10 }
11 ],
12 "Test": [
13 {
14 "name": "PlatformWheelPhase", "mode": "SCALAR", "storage": "uint64_t",
15 "flags": ["ENUM"],
16 "guard": "ENABLE(DUMMY_FEATURE)",
17 "values": ["PlatformWheelEventPhaseNone"],
18 "header": "platform/PlatformWheelEvent.h"
19 }
20 ]
21 },
22
23 "inputs": {
24 "Test": [
25 {
26 "name": "HandleWheelEvent",
27 "description": "",
28 "queue": "EVENT_LOOP",
29 "members": [
30 { "name": "platformEvent", "type": "PlatformWheelEvent" },
31 { "name": "phase", "type": "PlatformWheelPhase" }
32 ]
33 }
34 ]
35 }
36 }