Re: widl: use base pointer type instead of default if not overwritten.
5 Jan
2009
5 Jan
'09
10:27 a.m.
2009/1/4 Michael Karcher <wine(a)mkarcher.dialup.fu-berlin.de>:
diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c index f0e3f1d..0e5cbaf 100644 --- a/tools/widl/proxy.c +++ b/tools/widl/proxy.c @@ -185,6 +185,11 @@ int needs_null_check(const var_t *v)
if (type) { + if (type->type == RPC_FC_FP || + type->type == RPC_FC_OP || + type->type == RPC_FC_UP) + return 0; + attrs = type->attrs; type = type->ref; }
Looks good, although we should always use the type set in the type object, rather than trying to guess from the attributes. I plan to clean this up in the near future so you don't need to change the patch unless you want to. -- Rob Shearman
6190
Age (days ago)
6190
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rob Shearman