Module: wine Branch: refs/heads/master Commit: 82c11ce0025e386308623671f126646d0724051a URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=82c11ce0025e386308623671...
Author: Dan Hipschman dsh@linux.ucla.edu Date: Fri Jul 21 12:10:21 2006 -0700
widl: Allow write_type to output full pointer types.
---
tools/widl/header.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/widl/header.c b/tools/widl/header.c index d6b42ef..2de2ca7 100644 --- a/tools/widl/header.c +++ b/tools/widl/header.c @@ -297,6 +297,10 @@ void write_type(FILE *h, type_t *t, cons } else fprintf(h, "union %s", t->name); break; + case RPC_FC_FP: + if (t->ref) write_type(h, t->ref, NULL, t->name); + fprintf(h, "*"); + break; default: fprintf(h, "(unknown-type:%d)", t->type); }