widl [2/2]: Implement pointer descriptions for complex structures

Robert Shearman rob at codeweavers.com
Tue Sep 18 03:23:37 CDT 2007


Dan Hipschman wrote:
> var_t *field,
>      }
>      else if (is_ptr(type))
>      {
> -        print_file(file, 2, "0x8,\t/* FC_LONG */\n");
> +        unsigned char fc = (cont->type == RPC_FC_BOGUS_STRUCT
> +                            ? RPC_FC_POINTER
> +                            : RPC_FC_LONG);
> +        print_file(file, 2, "0x%x,\t/* %s */\n", fc, string_of_type(fc));
>          *tfsoff += 1;
>      }
>      else if (!write_base_type(file, type, tfsoff))
>   

I sent a patch yesterday which does a similar thing to this chunk. I 
think we need to agree on which approach we're going to take so we can 
let Alexandre know which patch to commit.

-- 
Rob Shearman




More information about the wine-devel mailing list