[OLE #148] Copy FUNCDESC Structures Instead of Returning a Pointer

Robert Shearman rob at codeweavers.com
Tue Nov 29 10:36:34 CST 2005


ChangeLog:
Factor out code for doing ELEMDESC sizes and copies.

Copy FUNCDESC structures returned to calling applications instead of
passing a pointer to the master structure used internally.

Call VariantInit on newly allocated memory before calling VariantCopy.

   dlls/oleaut32/typelib.c |  144
++++++++++++++++++++++++++++++++++++++---------
   1 files changed, 117 insertions(+), 27 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 146796503e17cf25db6a4bf733b7d435a1f79b04.diff
Type: text/x-patch
Size: 7252 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051129/694f45fd/146796503e17cf25db6a4bf733b7d435a1f79b04.diff


More information about the wine-patches mailing list