[4/5] wined3d: Use IDL to generate wined3d_interface.h.

Rob Shearman robertshearman at gmail.com
Fri Nov 21 10:31:55 CST 2008


2008/11/21 Henri Verbeet <hverbeet at codeweavers.com>:
> +cpp_quote("#if 0")
> +import "wined3d_types.idl";
> +import "wined3d_caps.idl";
...
> +cpp_quote("#endif")
> +
> +cpp_quote("#include \"wine/wined3d_types.h\"")
> +cpp_quote("#include \"wine/wined3d_caps.h\"")

You can't do this. It won't work in MIDL and it won't work in widl
when it is fixed to put the includes for imported files at the start
of the generated header file, rather than in between the statements
generated from neighbouring IDL statements.

You need to find another way of solving the issue you are facing.

-- 
Rob Shearman



More information about the wine-devel mailing list