Commit d88f9e3c authored by Alexandre Julliard's avatar Alexandre Julliard

widl: Don't make the proxy virtual tables const if they use delegation.

parent 6d7ad663
...@@ -624,7 +624,8 @@ static void write_proxy(type_t *iface, unsigned int *proc_offset) ...@@ -624,7 +624,8 @@ static void write_proxy(type_t *iface, unsigned int *proc_offset)
count = count_methods(iface); count = count_methods(iface);
/* proxy vtable */ /* proxy vtable */
print_proxy( "static const CINTERFACE_PROXY_VTABLE(%d) _%sProxyVtbl =\n", count, iface->name); print_proxy( "static %sCINTERFACE_PROXY_VTABLE(%d) _%sProxyVtbl =\n",
need_delegation_indirect(iface) ? "" : "const ", count, iface->name);
print_proxy( "{\n"); print_proxy( "{\n");
indent++; indent++;
print_proxy( "{\n"); print_proxy( "{\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment