On 12 January 2013 03:47, Austin English <austinengl...@gmail.com> wrote:
> The forward declarations are necessary due to the convoluted nature of
> the interfaces. My end goal is to add a stub for D3D11CreateDevice,
> which fixes http://bugs.winehq.org/show_bug.cgi?id=32520 (so users
> don't have to disable d3d11). However, adding a stub requires
> ID3D11Device and ID3D11DeviceContext, which are 158 and 413 lines
If you're only adding a stub, just the forward declarations for those
are enough, actually, as long as you never dereference the pointers.
There's something to be said for doing things right the first time
though.