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
02f5412a
Commit
02f5412a
authored
Apr 24, 2008
by
Rob Shearman
Committed by
Alexandre Julliard
Apr 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
widl: Implement lcid property on library declarations.
parent
98957451
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
parser.y
tools/widl/parser.y
+2
-0
widltypes.h
tools/widl/widltypes.h
+1
-0
write_msft.c
tools/widl/write_msft.c
+2
-2
No files found.
tools/widl/parser.y
View file @
02f5412a
...
...
@@ -493,6 +493,7 @@ attribute: { $$ = NULL; }
| tIN { $$ = make_attr(ATTR_IN); }
| tINPUTSYNC { $$ = make_attr(ATTR_INPUTSYNC); }
| tLENGTHIS '(' m_exprs ')' { $$ = make_attrp(ATTR_LENGTHIS, $3); }
| tLCID '(' expr_const ')' { $$ = make_attrp(ATTR_LIBLCID, $3); }
| tLOCAL { $$ = make_attr(ATTR_LOCAL); }
| tNONBROWSABLE { $$ = make_attr(ATTR_NONBROWSABLE); }
| tNONCREATABLE { $$ = make_attr(ATTR_NONCREATABLE); }
...
...
@@ -2010,6 +2011,7 @@ struct allowed_attr allowed_attr[] =
/* ATTR_IN */ { 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, "in" },
/* ATTR_INPUTSYNC */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "inputsync" },
/* ATTR_LENGTHIS */ { 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, "length_is" },
/* ATTR_LIBLCID */ { 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, "lcid" },
/* ATTR_LOCAL */ { 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, "local" },
/* ATTR_NONBROWSABLE */ { 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "nonbrowsable" },
/* ATTR_NONCREATABLE */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, "noncreatable" },
...
...
tools/widl/widltypes.h
View file @
02f5412a
...
...
@@ -104,6 +104,7 @@ enum attr_type
ATTR_IN
,
ATTR_INPUTSYNC
,
ATTR_LENGTHIS
,
ATTR_LIBLCID
,
ATTR_LOCAL
,
ATTR_NONBROWSABLE
,
ATTR_NONCREATABLE
,
...
...
tools/widl/write_msft.c
View file @
02f5412a
...
...
@@ -2322,8 +2322,8 @@ static void set_help_string_context(msft_typelib_t *typelib)
static
void
set_lcid
(
msft_typelib_t
*
typelib
)
{
typelib
->
typelib_header
.
lcid2
=
0x0
;
return
;
const
expr_t
*
lcid_expr
=
get_attrp
(
typelib
->
typelib
->
attrs
,
ATTR_LIBLCID
)
;
typelib
->
typelib_header
.
lcid2
=
lcid_expr
?
lcid_expr
->
cval
:
0x0
;
}
static
void
set_lib_flags
(
msft_typelib_t
*
typelib
)
...
...
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