api: use SPDX license and copyright identifiers
[mesa-waffle.git] / src / waffle / api / api_object.h
blob66e563e893d521c7cd314d6b4f5b057324ec3f81
1 // SPDX-FileCopyrightText: Copyright 2012 Intel Corporation
2 // SPDX-License-Identifier: BSD-2-Clause
4 #pragma once
6 #include "waffle.h"
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
12 // This header is so sad and lonely... but there is no other appropriate place
13 // to define this struct.
15 struct api_object {
16 /// @brief Display to which object belongs.
17 ///
18 /// For consistency, a `waffle_display` belongs to itself.
19 size_t display_id;
22 #ifdef __cplusplus
24 #endif