widl: fix [putref] property names
Huw D M Davies
h.davies1 at physics.ox.ac.uk
Mon Nov 14 08:18:21 CST 2005
Huw Davies <huw at codeweavers.com>
Prefix [putref] property names with putref_
--
Huw Davies
huw at codeweavers.com
Index: tools/widl/header.c
===================================================================
RCS file: /home/wine/wine/tools/widl/header.c,v
retrieving revision 1.37
diff -u -p -r1.37 header.c
--- tools/widl/header.c 12 Sep 2005 20:13:40 -0000 1.37
+++ tools/widl/header.c 14 Nov 2005 14:16:24 -0000
@@ -105,6 +105,8 @@ void write_name(FILE *h, var_t *v)
fprintf(h, "get_" );
else if (is_attr( v->attrs, ATTR_PROPPUT ))
fprintf(h, "put_" );
+ else if (is_attr( v->attrs, ATTR_PROPPUTREF ))
+ fprintf(h, "putref_" );
fprintf(h, "%s", v->name);
}
More information about the wine-patches
mailing list