[3/8] widl: use base pointer type instead of default if not overwritten. (resend)

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Sat Jan 10 15:36:21 CST 2009


---
 tools/widl/proxy.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tools/widl/proxy.c b/tools/widl/proxy.c
index 4e69190..bb16b72 100644
--- a/tools/widl/proxy.c
+++ b/tools/widl/proxy.c
@@ -182,6 +182,11 @@ int cant_be_null(const var_t *v)
 
     if (is_ptr(type))
     {
+      if (type->type == RPC_FC_FP ||
+          type->type == RPC_FC_OP ||
+          type->type == RPC_FC_UP)
+        return 0;
+
       attrs = type->attrs;
       type = type_pointer_get_ref(type);
     }
-- 
1.5.6.5





More information about the wine-devel mailing list