widl [1/2]: Handle more pointer types in get_struct_type

Dan Hipschman dsh at linux.ucla.edu
Fri Sep 1 18:34:14 CDT 2006


This is necessary for my next patch which changes the default pointer
type from FC_FP to FC_RP.

ChangeLog:
* Handle more pointer types in get_struct_type.
---
 tools/widl/parser.y |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 4ceb6a2..12767c7 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -1473,8 +1473,10 @@ static int get_struct_type(var_t *field)
     case RPC_FC_ENUM32:
       break;
 
+    case RPC_FC_RP:
     case RPC_FC_UP:
     case RPC_FC_FP:
+    case RPC_FC_OP:
       has_pointer = 1;
       break;
     case RPC_FC_CARRAY:



More information about the wine-patches mailing list