mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
include: Move D3D_BLOB_PART to a new header file.
According to a clang diagnostic, redefining a typedef is C11, and we want to stick with C99.
This commit is contained in:
committed by
Alexandre Julliard
parent
4e1f4cc428
commit
bae6079047
Notes:
Alexandre Julliard
2023-11-06 23:17:45 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/423
@ -20,6 +20,7 @@
|
||||
#define __VKD3D_UTILS_H
|
||||
|
||||
#include <vkd3d.h>
|
||||
#include <vkd3d_d3dcompiler_types.h>
|
||||
|
||||
#ifndef VKD3D_UTILS_API_VERSION
|
||||
#define VKD3D_UTILS_API_VERSION VKD3D_API_VERSION_1_0
|
||||
@ -51,9 +52,6 @@ extern "C" {
|
||||
# define VKD3D_UTILS_API VKD3D_IMPORT
|
||||
#endif
|
||||
|
||||
/** \since 1.10 */
|
||||
typedef enum D3D_BLOB_PART D3D_BLOB_PART;
|
||||
|
||||
/* 1.0 */
|
||||
VKD3D_UTILS_API HANDLE vkd3d_create_event(void);
|
||||
VKD3D_UTILS_API HRESULT vkd3d_signal_event(HANDLE event);
|
||||
|
Reference in New Issue
Block a user