[7/8] widl: move is_user_type from typegen to header

Rob Shearman robertshearman at gmail.com
Sat Jan 10 17:00:38 CST 2009


2009/1/10 Michael Karcher <wine at mkarcher.dialup.fu-berlin.de>:
> ---
>  tools/widl/header.c  |   24 ++++++++++++++++++++++++
>  tools/widl/header.h  |    2 ++
>  tools/widl/typegen.c |   24 ------------------------
>  tools/widl/typegen.h |    1 -
>  4 files changed, 26 insertions(+), 25 deletions(-)

Although there are a lot of helper functions implemented in header.c &
header.h, we shouldn't add any more. Ideally, there should be another
file for these types of helper functions used for both .c and .h
generation, but typegen.c is as good as any at the moment. It would be
better just to move last_ptr and is_string_type into
typegen.c/typegen.h, since that is where they are most used.

-- 
Rob Shearman



More information about the wine-devel mailing list