Bug 1632310 [wpt PR 23186] - Add test for computed versus resolved style., a=testonly
[gecko.git] / gfx / wgpu_bindings / wgpu.h
blobe75d30a241004b8bf60a558b7245cda5144b99de
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef WGPU_h
8 #define WGPU_h
10 // Prelude of types necessary before including wgpu_ffi_generated.h
11 namespace mozilla {
12 namespace webgpu {
13 namespace ffi {
15 #define WGPU_INLINE
16 #define WGPU_FUNC
17 #define WGPU_DESTRUCTOR_SAFE_FUNC
19 extern "C" {
20 #include "wgpu_ffi_generated.h"
23 #undef WGPU_INLINE
24 #undef WGPU_FUNC
25 #undef WGPU_DESTRUCTOR_SAFE_FUNC
27 } // namespace ffi
28 } // namespace webgpu
29 } // namespace mozilla
31 #endif // WGPU_h