Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
vkd3d
Manage
Activity
Members
Labels
Plan
Wiki
Bugzilla
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wine
vkd3d
Commits
dfab65e5
Commit
dfab65e5
authored
7 years ago
by
Józef Kucia
Browse files
Options
Downloads
Patches
Plain Diff
include: Avoid cpp_quote() for function prototypes.
parent
67641a89
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/d3d12.idl
+11
-12
11 additions, 12 deletions
include/d3d12.idl
include/vkd3d_windows.h
+5
-4
5 additions, 4 deletions
include/vkd3d_windows.h
with
16 additions
and
16 deletions
include/d3d12.idl
+
11
−
12
View file @
dfab65e5
...
...
@@ -2102,19 +2102,18 @@ interface ID3D12RootSignatureDeserializer : IUnknown
const
D3D12_ROOT_SIGNATURE_DESC
*
GetRootSignatureDesc
()
;
}
cpp_quote
(
"HRESULT WINAPI
D3D12CreateRootSignatureDeserializer(
"
)
cpp_quote
(
"
const void *data, SIZE_T data_size, REFIID
r
iid, void **deserializer);
"
)
[
local
]
HRESULT
__stdcall
D3D12CreateRootSignatureDeserializer
(
const
void
*
data
,
SIZE_T
data_size
,
REFIID
iid
,
void
**
deserializer
)
;
cpp_quote
(
"HRESULT WINAPI
D3D12SerializeRootSignature(
"
)
cpp_quote
(
"
const D3D12_ROOT_SIGNATURE_DESC *root_signature
,"
)
cpp_quote
(
"
D3D_ROOT_SIGNATURE_VERSION version, ID3DBlob **blob, ID3DBlob **error_blob);
"
)
[
local
]
HRESULT
__stdcall
D3D12SerializeRootSignature
(
const
D3D12_ROOT_SIGNATURE_DESC
*
root_signature
_desc
,
D3D_ROOT_SIGNATURE_VERSION
version
,
ID3DBlob
**
blob
,
ID3DBlob
**
error_blob
)
;
cpp_quote
(
"HRESULT WINAPI
D3D12SerializeVersionedRootSignature(
"
)
cpp_quote
(
"
const D3D12_VERSIONED_ROOT_SIGNATURE_DESC *root_signature
,"
)
cpp_quote
(
"
ID3DBlob **blob, ID3DBlob **error_blob);
"
)
[
local
]
HRESULT
__stdcall
D3D12SerializeVersionedRootSignature
(
const
D3D12_VERSIONED_ROOT_SIGNATURE_DESC
*
root_signature
_desc
,
ID3DBlob
**
blob
,
ID3DBlob
**
error_blob
)
;
cpp_quote
(
"HRESULT WINAPI D3D12CreateDevice(IUnknown *adapter,"
)
cpp_quote
(
"D3D_FEATURE_LEVEL minimum_feature_level,"
)
cpp_quote
(
"REFIID riid, void **device);"
)
[
local
]
HRESULT
__stdcall
D3D12CreateDevice
(
IUnknown
*
adapter
,
D3D_FEATURE_LEVEL
minimum_feature_level
,
REFIID
iid
,
void
**
device
)
;
cpp_quote
(
"HRESULT WINAPI
D3D12GetDebugInterface(REFIID
r
iid, void **debug);
"
)
[
local
]
HRESULT
__stdcall
D3D12GetDebugInterface
(
REFIID
iid
,
void
**
debug
)
;
This diff is collapsed.
Click to expand it.
include/vkd3d_windows.h
+
5
−
4
View file @
dfab65e5
...
...
@@ -138,13 +138,14 @@ typedef struct SECURITY_ATTRIBUTES SECURITY_ATTRIBUTES;
((type *)((char *)(address) - offsetof(type, field)))
# ifdef __x86_64__
# define WINAPI __attribute__((ms_abi))
# define STDMETHODCALLTYPE __attribute__((ms_abi))
# define __stdcall __attribute__((ms_abi))
# else
# define WINAPI __attribute__((__stdcall__))
# define STDMETHODCALLTYPE __attribute__((__stdcall__))
# define __stdcall __attribute__((__stdcall__))
# endif
# define WINAPI __stdcall
# define STDMETHODCALLTYPE __stdcall
# ifdef __GNUC__
# define DECLSPEC_SELECTANY __attribute__((weak))
# endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment