widl: Fix marshalling/unmarshalling of enum arguments.
commit47c82ac472546cb75808c0f10482b920e8afdd8e
authorRob Shearman <robertshearman@gmail.com>
Sat, 14 Feb 2009 18:10:53 +0000 (14 18:10 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 16 Feb 2009 14:35:14 +0000 (16 15:35 +0100)
treef5775d9d9ffd3f7d9302e4a3db80e3888ead1bc4
parent32c3cf1db7747af1582235dc7c9ce12b9a3fb900
widl: Fix marshalling/unmarshalling of enum arguments.

The generated code should use NdrSimpleType{Marshall,Unmarshall} instead
of direct buffer access, since the memory size isn't always equal to
the size on the wire and extra checks.
tools/widl/typegen.c