rpcrt4: Fix -Oi interpreter for base types.
Robert Shearman
rob at codeweavers.com
Mon Mar 10 12:05:59 CDT 2008
Don't call memory sizing rountines to compute the size of a type, since
memory sizing routines have side effects like checking there is enough
space in the buffer for the type and incrementing the buffer pointer.
Instead, create a function which returns the necessary size of the
limited set of types we can encounter and remove call_memory_sizer which
is no longer needed.
---
dlls/rpcrt4/ndr_stubless.c | 61
++++++++++++++++++++++++++------------------
1 files changed, 36 insertions(+), 25 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dd1fe0bdd9a5eb5374a6b8e71808a8411601544b.diff
Type: text/x-patch
Size: 3140 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080310/42087fb6/attachment.bin
More information about the wine-patches
mailing list