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

This commit is contained in:
Nikolay Sivov 2012-07-27 20:00:18 +04:00 committed by Alexandre Julliard
parent 0bc5e7a62a
commit 65f4184936
1 changed files with 2 additions and 2 deletions

View File

@ -856,7 +856,7 @@ static void write_method_macro(FILE *header, const type_t *iface, const char *na
first_iface = 0;
}
if (!is_callas(func->attrs)) {
if (!is_callas(func->attrs) && !is_inherited_method(iface, func)) {
const var_t *arg;
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
first_iface = 0;
}
if (!is_callas(func->attrs)) {
if (!is_callas(func->attrs) && !is_inherited_method(iface, func)) {
const var_t *arg;
fprintf(header, "static FORCEINLINE ");