Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
a3f649f7
Commit
a3f649f7
authored
Mar 23, 2010
by
Rob Shearman
Committed by
Alexandre Julliard
Mar 23, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Issue an error if an out parameter is a conformant string.
parent
cf45d599
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
parser.y
tools/widl/parser.y
+5
-4
No files found.
tools/widl/parser.y
View file @
a3f649f7
...
@@ -2527,10 +2527,11 @@ static void check_remoting_args(const var_t *func)
...
@@ -2527,10 +2527,11 @@ static void check_remoting_args(const var_t *func)
error_loc_info(&arg->loc_info, "out interface pointer \'%s\' of function \'%s\' is not a double pointer\n", arg->name, funcname);
error_loc_info(&arg->loc_info, "out interface pointer \'%s\' of function \'%s\' is not a double pointer\n", arg->name, funcname);
break;
break;
case TGT_STRING:
case TGT_STRING:
if (!is_array(type))
if (is_ptr(type) ||
{
(is_array(type) &&
/* FIXME */
(!type_array_has_conformance(type) ||
}
type_array_get_conformance(type)->type == EXPR_VOID)))
error_loc_info(&arg->loc_info, "out parameter \'%s\' of function \'%s\' cannot be an unsized string\n", arg->name, funcname);
break;
break;
case TGT_INVALID:
case TGT_INVALID:
/* already error'd before we get here */
/* already error'd before we get here */
...
...
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