Eric Kohl : widl: Implement support for unique pointers to strings.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Apr 21 05:02:34 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: ff302bfc7a03a41a2b38259b5d222aa2d536f6cc
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ff302bfc7a03a41a2b38259b5d222aa2d536f6cc

Author: Eric Kohl <eric.kohl at t-online.de>
Date:   Thu Apr 20 22:28:41 2006 +0200

widl: Implement support for unique pointers to strings.

---

 tools/widl/typegen.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c
index b2f160a..033caf8 100644
--- a/tools/widl/typegen.c
+++ b/tools/widl/typegen.c
@@ -1708,7 +1708,7 @@ void write_remoting_arguments(FILE *file
                     fprintf(file, ";\n");
                 }
 
-                if (phase == PHASE_FREE)
+                if ((phase == PHASE_FREE) || (pointer_type == RPC_FC_UP))
                     print_phase_function(file, indent, "Pointer", phase, var->name, *type_offset);
                 else
                     print_phase_function(file, indent, "ConformantString", phase, var->name,




More information about the wine-cvs mailing list