Move API into one file and use "system" calling convention, and move data definitions into platform specific files.

This commit is contained in:
AbdelHameed-Hamed
2023-09-14 19:24:44 +02:00
parent d0ef6d2a9b
commit 06d26df046
4 changed files with 177 additions and 760 deletions
+16
View File
@@ -0,0 +1,16 @@
//+build windows
package directx_dxc
import win32 "core:sys/windows"
import dxgi "vendor:directx/dxgi"
BOOL :: dxgi.BOOL
SIZE_T :: dxgi.SIZE_T
ULONG :: dxgi.ULONG
CLSID :: dxgi.GUID
IID :: dxgi.IID
HRESULT :: dxgi.HRESULT
IUnknown :: dxgi.IUnknown
IUnknown_VTable :: dxgi.IUnknown_VTable
wstring :: win32.wstring
FILETIME :: win32.FILETIME
BSTR :: wstring