[PATCH 2/2] widl: Optimise the generated code by skipping calls calling the type function directly for some reference pointers.

Alexandre Julliard julliard at winehq.org
Mon Jan 12 06:10:30 CST 2009


"Rob Shearman" <robertshearman at gmail.com> writes:

> Skip calling the Pointer marshalling/unmarshalling/buffer
> sizing/freeing function in this case.
>
> Output code for calling union marshalling/unmarshalling/buffer
> sizing/freeing functions.

It doesn't work:

../../tools/widl/widl -I. -I. -I../../include -I../../include  -D__WINESRC__ -DREGISTER_PROXY_DLL -DPROXY_CLSID_IS="{ 0xb8da6310, 0xe19b, 0x11d0, { 0x93, 0x3c, 0x00, 0xa0, 0xc9, 0x0d, 0xca, 0xa9 } }"  -p -P actxprxy_servprov_p.c actxprxy_servprov.idl
widl: typetree.h:191: type_pointer_get_ref: Assertion `is_ptr(type)' failed.
make[2]: *** [actxprxy_servprov_p.c] Aborted
make[2]: *** Deleting file `actxprxy_servprov_p.c'

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list