Re: [PATCH 2/2] widl: Optimise the generated code by skipping calls calling the type function directly for some reference pointers.
"Rob Shearman" <robertshearman(a)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(a)winehq.org
2009/1/12 Alexandre Julliard <julliard(a)winehq.org>:
"Rob Shearman" <robertshearman(a)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'
Sorry about that, sent the wrong version. Will send the updated version shortly. -- Rob Shearman
participants (2)
-
Alexandre Julliard -
Rob Shearman