widl: Allow write_type to output full pointer types.

This commit is contained in:
Dan Hipschman 2006-07-21 12:10:21 -07:00 committed by Alexandre Julliard
parent a98ccb543d
commit 82c11ce002
1 changed files with 4 additions and 0 deletions

View File

@ -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); else fprintf(h, "union %s", t->name);
break; break;
case RPC_FC_FP:
if (t->ref) write_type(h, t->ref, NULL, t->name);
fprintf(h, "*");
break;
default: default:
fprintf(h, "(unknown-type:%d)", t->type); fprintf(h, "(unknown-type:%d)", t->type);
} }