Commit 65f41849 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

widl: Don't output method macro if name duplicates another method name.

parent 0bc5e7a6
...@@ -856,7 +856,7 @@ static void write_method_macro(FILE *header, const type_t *iface, const char *na ...@@ -856,7 +856,7 @@ static void write_method_macro(FILE *header, const type_t *iface, const char *na
first_iface = 0; first_iface = 0;
} }
if (!is_callas(func->attrs)) { if (!is_callas(func->attrs) && !is_inherited_method(iface, func)) {
const var_t *arg; const var_t *arg;
fprintf(header, "#define %s_%s(This", name, get_name(func)); fprintf(header, "#define %s_%s(This", name, get_name(func));
...@@ -949,7 +949,7 @@ static void write_inline_wrappers(FILE *header, const type_t *iface, const char ...@@ -949,7 +949,7 @@ static void write_inline_wrappers(FILE *header, const type_t *iface, const char
first_iface = 0; first_iface = 0;
} }
if (!is_callas(func->attrs)) { if (!is_callas(func->attrs) && !is_inherited_method(iface, func)) {
const var_t *arg; const var_t *arg;
fprintf(header, "static FORCEINLINE "); fprintf(header, "static FORCEINLINE ");
......
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