mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 16:37:08 +00:00
Capitalize C types dawn -> Dawn
This is to match Chromium style. Change-Id: Ic97cc03e2291c653ade9662ba3d5e629872b10ad Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/5482 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
97ffc1a8aa
commit
45f9730855
@@ -22,7 +22,7 @@ namespace dawn_wire { namespace client {
|
||||
class Device;
|
||||
|
||||
struct BuilderCallbackData {
|
||||
bool Call(dawnBuilderErrorStatus status, const char* message) {
|
||||
bool Call(DawnBuilderErrorStatus status, const char* message) {
|
||||
if (canCall && callback != nullptr) {
|
||||
canCall = true;
|
||||
callback(status, message, userdata1, userdata2);
|
||||
@@ -33,9 +33,9 @@ namespace dawn_wire { namespace client {
|
||||
}
|
||||
|
||||
// For help with development, prints all builder errors by default.
|
||||
dawnBuilderErrorCallback callback = nullptr;
|
||||
dawnCallbackUserdata userdata1 = 0;
|
||||
dawnCallbackUserdata userdata2 = 0;
|
||||
DawnBuilderErrorCallback callback = nullptr;
|
||||
DawnCallbackUserdata userdata1 = 0;
|
||||
DawnCallbackUserdata userdata2 = 0;
|
||||
bool canCall = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user