Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
0e5d9b56
Commit
0e5d9b56
authored
Sep 20, 2004
by
Mike McCormack
Committed by
Alexandre Julliard
Sep 20, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the handling of complex data types (strings and structs).
parent
3430bc2c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
2 deletions
+16
-2
parser.y
tools/widl/parser.y
+16
-2
proxy.c
tools/widl/proxy.c
+0
-0
No files found.
tools/widl/parser.y
View file @
0e5d9b56
...
@@ -1069,8 +1069,22 @@ static type_t *reg_type(type_t *type, char *name, int t)
...
@@ -1069,8 +1069,22 @@ static type_t *reg_type(type_t *type, char *name, int t)
/* determine pointer type from attrs */
/* determine pointer type from attrs */
static unsigned char get_pointer_type( type_t *type )
static unsigned char get_pointer_type( type_t *type )
{
{
int t = get_attrv( type->attrs, ATTR_POINTERTYPE );
int t;
if( t ) return t;
if (is_attr( type->attrs, ATTR_STRING ))
{
type_t *t = type;
while( t->type == 0 && t->ref )
t = t->ref;
switch( t->type )
{
case RPC_FC_CHAR:
return RPC_FC_C_CSTRING;
case RPC_FC_WCHAR:
return RPC_FC_C_WSTRING;
}
}
t = get_attrv( type->attrs, ATTR_POINTERTYPE );
if (t) return t;
return RPC_FC_FP;
return RPC_FC_FP;
}
}
...
...
tools/widl/proxy.c
View file @
0e5d9b56
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment