widl: The detection of types is highly dependent on the ordering of the various type...
commit57947d9f9c17daa6f7283a69f84515bda49d2422
authorRob Shearman <rob@codeweavers.com>
Wed, 19 Dec 2007 14:52:13 +0000 (19 14:52 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 19 Dec 2007 17:32:13 +0000 (19 18:32 +0100)
treef1d95762a7857932398a0b16535fe12ea3a8b90c
parentc673b2284d03c17154ccc977203cbc6d05a95e69
widl: The detection of types is highly dependent on the ordering of the various type detection functions.

Therefore, needs_freeing would have to duplicate a lot of
write_remoting_arg in order to get the detection right. Because of
this, it is easier and will cause less problems in the future to
simply move the logic of needs_freeing into write_remoting_arg in the
appropriate handling code for the detected type.
tools/widl/typegen.c