dawn.json revert to the "callback" name for callback arguments

These argument names were probably renamed as part of a mass rename of
the "callback" category to "function pointer". The name "callback" more
clearly represents what the argument is used for, so revert back to it.

Bug: None
Change-Id: Id7539667f5daa87aec32ce8c90c20275d2fe80fd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/72485
Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
Corentin Wallez 2021-12-13 17:37:17 +00:00 committed by Dawn LUCI CQ
parent c7b9b578b0
commit e00c6bd395
1 changed files with 11 additions and 11 deletions

View File

@ -108,7 +108,7 @@
"name": "request device", "name": "request device",
"args": [ "args": [
{"name": "descriptor", "type": "device descriptor", "annotation": "const*"}, {"name": "descriptor", "type": "device descriptor", "annotation": "const*"},
{"name": "function pointer", "type": "request device callback"}, {"name": "callback", "type": "request device callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
} }
@ -381,7 +381,7 @@
{"name": "mode", "type": "map mode"}, {"name": "mode", "type": "map mode"},
{"name": "offset", "type": "size_t"}, {"name": "offset", "type": "size_t"},
{"name": "size", "type": "size_t"}, {"name": "size", "type": "size_t"},
{"name": "function pointer", "type": "buffer map callback"}, {"name": "callback", "type": "buffer map callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
}, },
@ -958,7 +958,7 @@
"returns": "void", "returns": "void",
"args": [ "args": [
{"name": "descriptor", "type": "compute pipeline descriptor", "annotation": "const*"}, {"name": "descriptor", "type": "compute pipeline descriptor", "annotation": "const*"},
{"name": "function pointer", "type": "create compute pipeline async callback"}, {"name": "callback", "type": "create compute pipeline async callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
}, },
@ -989,7 +989,7 @@
"returns": "void", "returns": "void",
"args": [ "args": [
{"name": "descriptor", "type": "render pipeline descriptor", "annotation": "const*"}, {"name": "descriptor", "type": "render pipeline descriptor", "annotation": "const*"},
{"name": "function pointer", "type": "create render pipeline async callback"}, {"name": "callback", "type": "create render pipeline async callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
}, },
@ -1069,7 +1069,7 @@
{ {
"name": "set uncaptured error callback", "name": "set uncaptured error callback",
"args": [ "args": [
{"name": "function pointer", "type": "error callback"}, {"name": "callback", "type": "error callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
}, },
@ -1077,14 +1077,14 @@
"name": "set logging callback", "name": "set logging callback",
"tags": ["dawn"], "tags": ["dawn"],
"args": [ "args": [
{"name": "function pointer", "type": "logging callback"}, {"name": "callback", "type": "logging callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
}, },
{ {
"name": "set device lost callback", "name": "set device lost callback",
"args": [ "args": [
{"name": "function pointer", "type": "device lost callback"}, {"name": "callback", "type": "device lost callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
}, },
@ -1098,7 +1098,7 @@
"name": "pop error scope", "name": "pop error scope",
"returns": "bool", "returns": "bool",
"args": [ "args": [
{"name": "function pointer", "type": "error callback"}, {"name": "callback", "type": "error callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
} }
@ -1352,7 +1352,7 @@
"tags": ["upstream"], "tags": ["upstream"],
"args": [ "args": [
{"name": "options", "type": "request adapter options", "annotation": "const*"}, {"name": "options", "type": "request adapter options", "annotation": "const*"},
{"name": "function pointer", "type": "request adapter callback"}, {"name": "callback", "type": "request adapter callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
} }
@ -1541,7 +1541,7 @@
"name": "on submitted work done", "name": "on submitted work done",
"args": [ "args": [
{"name": "signal value", "type": "uint64_t"}, {"name": "signal value", "type": "uint64_t"},
{"name": "function pointer", "type": "queue work done callback"}, {"name": "callback", "type": "queue work done callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
}, },
@ -2139,7 +2139,7 @@
{ {
"name": "get compilation info", "name": "get compilation info",
"args": [ "args": [
{"name": "function pointer", "type": "compilation info callback"}, {"name": "callback", "type": "compilation info callback"},
{"name": "userdata", "type": "void", "annotation": "*"} {"name": "userdata", "type": "void", "annotation": "*"}
] ]
}, },