Standardize header guards for libdawn headers
diff --git a/generator/templates/api.h b/generator/templates/api.h index 09890f7..5240d79 100644 --- a/generator/templates/api.h +++ b/generator/templates/api.h
@@ -12,8 +12,8 @@ //* See the License for the specific language governing permissions and //* limitations under the License. -#ifndef DAWN_H -#define DAWN_H +#ifndef DAWN_DAWN_H_ +#define DAWN_DAWN_H_ #include <stdint.h> #include <stddef.h> @@ -100,4 +100,4 @@ } // extern "C" #endif -#endif // DAWN_H +#endif // DAWN_DAWN_H_
diff --git a/generator/templates/apicpp.h b/generator/templates/apicpp.h index 8aa88ab..2813e01 100644 --- a/generator/templates/apicpp.h +++ b/generator/templates/apicpp.h
@@ -12,8 +12,8 @@ //* See the License for the specific language governing permissions and //* limitations under the License. -#ifndef DAWNCPP_H -#define DAWNCPP_H +#ifndef DAWN_DAWNCPP_H_ +#define DAWN_DAWNCPP_H_ #include "dawn.h" @@ -160,4 +160,4 @@ } // namespace dawn -#endif // DAWNCPP_H +#endif // DAWN_DAWNCPP_H_
diff --git a/generator/templates/apicpp_traits.h b/generator/templates/apicpp_traits.h index 059f50f..4741ded 100644 --- a/generator/templates/apicpp_traits.h +++ b/generator/templates/apicpp_traits.h
@@ -12,8 +12,8 @@ //* See the License for the specific language governing permissions and //* limitations under the License. -#ifndef DAWNCPP_TRAITS_H -#define DAWNCPP_TRAITS_H +#ifndef DAWN_DAWNCPP_TRAITS_H_ +#define DAWN_DAWNCPP_TRAITS_H_ #include "dawncpp.h" @@ -40,4 +40,4 @@ } -#endif // DAWNCPP_TRAITS_H +#endif // DAWN_DAWNCPP_TRAITS_H_
diff --git a/src/include/dawn/dawn_wsi.h b/src/include/dawn/dawn_wsi.h index 148de5b..8e42b21 100644 --- a/src/include/dawn/dawn_wsi.h +++ b/src/include/dawn/dawn_wsi.h
@@ -1,19 +1,19 @@ -//* Copyright 2017 The Dawn Authors -//* -//* Licensed under the Apache License, Version 2.0 (the "License"); -//* you may not use this file except in compliance with the License. -//* You may obtain a copy of the License at -//* -//* http://www.apache.org/licenses/LICENSE-2.0 -//* -//* Unless required by applicable law or agreed to in writing, software -//* distributed under the License is distributed on an "AS IS" BASIS, -//* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -//* See the License for the specific language governing permissions and -//* limitations under the License. +// Copyright 2017 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. -#ifndef DAWN_WSI_H -#define DAWN_WSI_H +#ifndef DAWN_DAWN_WSI_H_ +#define DAWN_DAWN_WSI_H_ #include <dawn/dawn.h> @@ -82,4 +82,4 @@ } dawnWSIContextVulkan; #endif -#endif // DAWN_WSI_H +#endif // DAWN_DAWN_WSI_H