rpcrt4: Fix -Oi interpreter for base types.
commit259ccc573c1e8f03e6a46321f9b5cf76edf540d0
authorRob Shearman <rob@codeweavers.com>
Mon, 10 Mar 2008 17:05:59 +0000 (10 17:05 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 10 Mar 2008 18:12:54 +0000 (10 19:12 +0100)
treed8cfbc65e1e34d0b8a8fe5823c0735b86d3e8f98
parenta5599028ea35884bf4ee40d7437ee6c8bd6698e4
rpcrt4: Fix -Oi interpreter for base types.

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