From 82c11ce0025e386308623671f126646d0724051a Mon Sep 17 00:00:00 2001 From: Dan Hipschman Date: Fri, 21 Jul 2006 12:10:21 -0700 Subject: [PATCH] widl: Allow write_type to output full pointer types. --- tools/widl/header.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/widl/header.c b/tools/widl/header.c index d6b42eff564..2de2ca765f6 100644 --- a/tools/widl/header.c +++ b/tools/widl/header.c @@ -297,6 +297,10 @@ void write_type(FILE *h, type_t *t, const var_t *v, const char *n) } 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); }