Rob Shearman : widl: Stop looping in check_remoting_args when a context_handle or wire_marshal type is found as they are in effect fundamental types .
Alexandre Julliard
julliard at winehq.org
Mon Apr 21 07:46:17 CDT 2008
Module: wine
Branch: master
Commit: 6e27e7840f49253f068fb175faf25e42a949ad77
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6e27e7840f49253f068fb175faf25e42a949ad77
Author: Rob Shearman <rob at codeweavers.com>
Date: Sun Apr 20 22:15:06 2008 +0100
widl: Stop looping in check_remoting_args when a context_handle or wire_marshal type is found as they are in effect fundamental types.
---
tools/widl/parser.y | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 45471bb..d4ba87a 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -2376,9 +2376,15 @@ static void check_remoting_args(const func_t *func)
for (;;)
{
if (!is_wire_marshal && is_attr(type->attrs, ATTR_WIREMARSHAL))
+ {
is_wire_marshal = 1;
+ break;
+ }
if (!is_context_handle && is_attr(type->attrs, ATTR_CONTEXTHANDLE))
+ {
is_context_handle = 1;
+ break;
+ }
if (type->kind == TKIND_ALIAS)
type = type->orig;
else if (is_ptr(type))
More information about the wine-cvs
mailing list